mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-11 15:16:27 +01:00
Remove some naked new amd delete in: TrackPanel::mAx
This commit is contained in:
@@ -786,7 +786,11 @@ protected:
|
||||
|
||||
friend class TrackPanelAx;
|
||||
|
||||
TrackPanelAx *mAx;
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
TrackPanelAx *mAx{};
|
||||
#else
|
||||
std::unique_ptr<TrackPanelAx> mAx;
|
||||
#endif
|
||||
|
||||
public:
|
||||
TrackPanelAx &GetAx() { return *mAx; }
|
||||
|
||||
Reference in New Issue
Block a user