mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 13:12:17 +01: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:
@@ -205,7 +205,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
|
||||
S.StartHorizontalLay(wxEXPAND, true);
|
||||
{
|
||||
S.SetBorder(10);
|
||||
mPanel = new EffectCompressorPanel(S.GetParent(),
|
||||
mPanel = safenew EffectCompressorPanel(S.GetParent(),
|
||||
mThresholdDB,
|
||||
mNoiseFloorDB,
|
||||
mRatio);
|
||||
|
||||
Reference in New Issue
Block a user