mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
More uses of safenew for classes we derive from wxWindow classes...
... Also removed some unnecessary deletes of widgets that are managed by parent windows
This commit is contained in:
@@ -113,7 +113,7 @@ LyricsWindow::LyricsWindow(AudacityProject *parent):
|
||||
//
|
||||
//pToolBar->Realize();
|
||||
|
||||
mLyricsPanel = new Lyrics(this, -1, panelPos, panelSize);
|
||||
mLyricsPanel = safenew Lyrics(this, -1, panelPos, panelSize);
|
||||
|
||||
//vvv Highlight style is broken in ported version.
|
||||
//switch (mLyricsPanel->GetLyricsStyle())
|
||||
|
Reference in New Issue
Block a user