1
0
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:
Paul Licameli
2016-04-06 18:32:38 -04:00
committed by Paul Licameli
parent 23516a7732
commit 52d12c6913
10 changed files with 29 additions and 42 deletions

View File

@@ -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;