1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Scanned for bad naked new; found none; changed comments, used safenew

This commit is contained in:
Paul Licameli
2017-07-22 23:54:56 -04:00
parent 7156479d11
commit f0de38dec1
22 changed files with 32 additions and 32 deletions

View File

@@ -2172,7 +2172,7 @@ std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wx
{
// Replace standard Help button with smaller icon button.
// bs->AddButton(safenew wxButton(parent, wxID_HELP));
b = new wxBitmapButton(parent, wxID_HELP, theTheme.Bitmap( bmpHelpIcon ));
b = safenew wxBitmapButton(parent, wxID_HELP, theTheme.Bitmap( bmpHelpIcon ));
b->SetToolTip( _("Help") );
bs->AddButton( b );
}