mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-24 01:21:13 +01:00
Remove some naked new amd delete in: toolbars
This commit is contained in:
committed by
Paul Licameli
parent
23516a7732
commit
52d12c6913
@@ -13,6 +13,7 @@
|
||||
#ifndef __AUDACITY_TOOLMANAGER__
|
||||
#define __AUDACITY_TOOLMANAGER__
|
||||
|
||||
#include "../MemoryX.h"
|
||||
#include <wx/defs.h>
|
||||
#include <wx/frame.h>
|
||||
#include <wx/timer.h>
|
||||
@@ -97,8 +98,7 @@ class ToolManager final : public wxEvtHandler
|
||||
wxRect mBarPos;
|
||||
|
||||
wxFrame *mIndicator;
|
||||
wxRegion *mLeft;
|
||||
wxRegion *mDown;
|
||||
std::unique_ptr<wxRegion> mLeft, mDown;
|
||||
wxRegion *mCurrent;
|
||||
|
||||
wxTimer mTimer;
|
||||
|
||||
Reference in New Issue
Block a user