1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

NumericTextControl ctor arguments...

... follow wxWidgets conventions for first two arguments; add Options
This commit is contained in:
Paul Licameli
2017-10-27 19:14:48 -04:00
parent 517bdf1ba8
commit 5724780be9
16 changed files with 146 additions and 157 deletions

View File

@@ -56,17 +56,15 @@ void TimeDialog::PopulateOrExchange(ShuttleGui &S)
{
mTimeCtrl = safenew
NumericTextCtrl(
NumericConverter::TIME, this,
wxID_ANY,
this, wxID_ANY,
NumericConverter::TIME,
mFormat,
mTime,
mRate,
wxDefaultPosition,
wxDefaultSize,
true);
NumericTextCtrl::Options{}
.AutoPos(true));
mTimeCtrl->SetName(mPrompt);
S.AddWindow(mTimeCtrl);
mTimeCtrl->EnableMenu();
}
S.EndStatic();
}