mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 21:22:05 +01:00
Remove some naked new amd delete in: various
This commit is contained in:
committed by
Paul Licameli
parent
186679b3a6
commit
942c62b6f6
@@ -83,7 +83,7 @@ void SplashDialog::Populate( ShuttleGui & S )
|
||||
S.StartVerticalLay(1);
|
||||
|
||||
//v For now, change to AudacityLogoWithName via old-fashioned ways, not Theme.
|
||||
m_pLogo = new wxBitmap((const char **) AudacityLogoWithName_xpm); //v
|
||||
m_pLogo = std::make_unique<wxBitmap>((const char **) AudacityLogoWithName_xpm); //v
|
||||
|
||||
// JKC: Resize to 50% of size. Later we may use a smaller xpm as
|
||||
// our source, but this allows us to tweak the size - if we want to.
|
||||
@@ -123,7 +123,6 @@ void SplashDialog::Populate( ShuttleGui & S )
|
||||
|
||||
SplashDialog::~SplashDialog()
|
||||
{
|
||||
delete m_pLogo;
|
||||
}
|
||||
|
||||
void SplashDialog::OnDontShow( wxCommandEvent & Evt )
|
||||
|
||||
Reference in New Issue
Block a user