mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-02 14:17:07 +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:
@@ -58,7 +58,7 @@ void EffectSilence::PopulateOrExchange(ShuttleGui & S)
|
||||
S.StartHorizontalLay();
|
||||
{
|
||||
S.AddPrompt(_("Duration:"));
|
||||
mDurationT = new
|
||||
mDurationT = safenew
|
||||
NumericTextCtrl(NumericConverter::TIME,
|
||||
S.GetParent(),
|
||||
wxID_ANY,
|
||||
|
||||
Reference in New Issue
Block a user