mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02: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:
@@ -95,7 +95,7 @@ void DirectoriesPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
S.AddButton(_("C&hoose..."));
|
||||
|
||||
S.AddFixedText(_("Free Space:"));
|
||||
mFreeSpace = S.AddVariableText(wxT(""));
|
||||
mFreeSpace = S.AddVariableText( {} );
|
||||
}
|
||||
S.EndMultiColumn();
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ void KeyConfigPrefs::Populate()
|
||||
if (!project) {
|
||||
S.StartVerticalLay(true);
|
||||
{
|
||||
S.StartStatic(wxEmptyString, true);
|
||||
S.StartStatic( {}, true);
|
||||
{
|
||||
S.AddTitle(_("Keyboard preferences currently unavailable."));
|
||||
S.AddTitle(_("Open a new project to modify keyboard shortcuts."));
|
||||
|
||||
@@ -102,7 +102,7 @@ void ModulePrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
StatusChoices.Add( _("New" ) );
|
||||
S.SetBorder(2);
|
||||
|
||||
S.StartStatic(wxT(""));
|
||||
S.StartStatic( {} );
|
||||
{
|
||||
S.AddFixedText(_("These are experimental modules. Enable them only if you've read the Audacity Manual\nand know what you are doing.") );
|
||||
S.AddFixedText(wxString(wxT(" ")) + _("'Ask' means Audacity will ask if you want to load the module each time it starts.") );
|
||||
|
||||
@@ -133,7 +133,7 @@ void QualityPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
// We make sure it uses the ID we want, so that we get changes
|
||||
S.Id(ID_SAMPLE_RATE_CHOICE);
|
||||
// We make sure we have a pointer to it, so that we can drive it.
|
||||
mSampleRates = S.TieChoice(wxT(""),
|
||||
mSampleRates = S.TieChoice( {},
|
||||
wxT("/SamplingRate/DefaultProjectSampleRate"),
|
||||
AudioIO::GetOptimalSupportedSampleRate(),
|
||||
mSampleRateNames,
|
||||
@@ -141,7 +141,7 @@ void QualityPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
S.SetSizeHints(mSampleRateNames);
|
||||
|
||||
// Now do the edit box...
|
||||
mOtherSampleRate = S.TieNumericTextBox(wxT(""),
|
||||
mOtherSampleRate = S.TieNumericTextBox( {},
|
||||
mOtherSampleRateValue,
|
||||
15);
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
wxT("/GUI/TrackNames/RecordingNameCustom"),
|
||||
mUseCustomTrackName ? true : false);
|
||||
|
||||
mToggleCustomName = S.TieTextBox(wxT(""),
|
||||
mToggleCustomName = S.TieTextBox( {},
|
||||
wxT("/GUI/TrackNames/RecodingTrackName"),
|
||||
_("Recorded_Audio"),
|
||||
30);
|
||||
@@ -139,7 +139,7 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
}
|
||||
S.EndMultiColumn();
|
||||
|
||||
S.AddFixedText( "" );
|
||||
S.AddFixedText( {} );
|
||||
S.StartMultiColumn(3);
|
||||
{
|
||||
S.TieCheckBox(_("&Track Number"),
|
||||
|
||||
Reference in New Issue
Block a user