mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Sizers are owned by wxWindow objects when added, so use safenew, or...
... use unique_ptr in the interim between building them and adding. This checks eliminates some naked news, which were not paired with deletes.
This commit is contained in:
@@ -52,7 +52,6 @@ class AboutDialog:public wxDialog {
|
||||
|
||||
void OnOK(wxCommandEvent & event);
|
||||
|
||||
wxBoxSizer *topsizer;
|
||||
wxStaticBitmap *icon;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
Reference in New Issue
Block a user