mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-24 23:21:21 +01:00
Remove some naked new amd delete in: toolbars
This commit is contained in:
committed by
Paul Licameli
parent
23516a7732
commit
52d12c6913
@@ -14,6 +14,7 @@
|
||||
#ifndef __AUDACITY_CONTROL_TOOLBAR__
|
||||
#define __AUDACITY_CONTROL_TOOLBAR__
|
||||
|
||||
#include "../MemoryX.h"
|
||||
#include "ToolBar.h"
|
||||
#include "../Theme.h"
|
||||
|
||||
@@ -160,7 +161,7 @@ class ControlToolBar final : public ToolBar {
|
||||
|
||||
wxBoxSizer *mSizer;
|
||||
|
||||
TrackList* mCutPreviewTracks;
|
||||
std::unique_ptr<TrackList> mCutPreviewTracks;
|
||||
|
||||
// strings for status bar
|
||||
wxString mStatePlay;
|
||||
|
||||
Reference in New Issue
Block a user