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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user