mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-24 01:21:13 +01:00
Some uses of Destroy_ptr let us remove some naked news
This commit is contained in:
@@ -97,7 +97,8 @@ class ToolManager final : public wxEvtHandler
|
||||
wxPoint mLastPos;
|
||||
wxRect mBarPos;
|
||||
|
||||
wxFrame *mIndicator;
|
||||
using FramePtr = Destroy_ptr<wxFrame>;
|
||||
FramePtr mIndicator;
|
||||
std::unique_ptr<wxRegion> mLeft, mDown;
|
||||
wxRegion *mCurrent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user