1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-08 20:52:09 +01:00

Rewrite empty prompts to ShuttleGUI functions as {} ...

... so we might more easily redefine the type of the function argument,
some other day (not this release)
This commit is contained in:
Paul Licameli
2017-09-27 21:20:14 -04:00
parent e0970ad1e8
commit 80a958f8a4
38 changed files with 113 additions and 113 deletions

View File

@@ -342,7 +342,7 @@ void EffectClickRemoval::PopulateOrExchange(ShuttleGui & S)
mThreshT->SetValidator(vldThresh);
S.SetStyle(wxSL_HORIZONTAL);
mThreshS = S.Id(ID_Thresh).AddSlider(wxT(""), mThresholdLevel, MAX_Threshold, MIN_Threshold);
mThreshS = S.Id(ID_Thresh).AddSlider( {}, mThresholdLevel, MAX_Threshold, MIN_Threshold);
mThreshS->SetName(_("Threshold"));
mThreshS->SetValidator(wxGenericValidator(&mThresholdLevel));
mThreshS->SetMinSize(wxSize(150, -1));
@@ -356,7 +356,7 @@ void EffectClickRemoval::PopulateOrExchange(ShuttleGui & S)
mWidthT->SetValidator(vldWidth);
S.SetStyle(wxSL_HORIZONTAL);
mWidthS = S.Id(ID_Width).AddSlider(wxT(""), mClickWidth, MAX_Width, MIN_Width);
mWidthS = S.Id(ID_Width).AddSlider( {}, mClickWidth, MAX_Width, MIN_Width);
mWidthS->SetName(_("Max Spike Width"));
mWidthS->SetValidator(wxGenericValidator(&mClickWidth));
mWidthS->SetMinSize(wxSize(150, -1));