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

@@ -96,11 +96,11 @@ HistoryWindow::HistoryWindow(AudacityProject *parent, UndoManager *manager):
// FIXME: Textbox labels have inconsistent capitalization
mTotal = S.Id(ID_TOTAL).AddTextBox(_("&Total space used"), wxT("0"), 10);
mTotal->Connect(wxEVT_KEY_DOWN, wxKeyEventHandler(HistoryWindow::OnChar));
S.AddVariableText(wxT(""))->Hide();
S.AddVariableText( {} )->Hide();
mAvail = S.Id(ID_AVAIL).AddTextBox(_("&Undo Levels Available"), wxT("0"), 10);
mAvail->Connect(wxEVT_KEY_DOWN, wxKeyEventHandler(HistoryWindow::OnChar));
S.AddVariableText(wxT(""))->Hide();
S.AddVariableText( {} )->Hide();
S.AddPrompt(_("&Levels To Discard"));
mLevels = safenew wxSpinCtrl(this,