1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 12:12:23 +01:00

More NumericTextCtrl constructor options

This commit is contained in:
Paul Licameli
2018-01-30 18:44:44 -05:00
parent 5724780be9
commit 8625df6814
3 changed files with 28 additions and 11 deletions

View File

@@ -1284,6 +1284,12 @@ NumericTextCtrl::NumericTextCtrl(wxWindow *parent, wxWindowID id,
if (options.hasInvalidValue)
SetInvalidValue( options.invalidValue );
if (!options.format.empty())
SetFormatString( options.format );
if (options.hasValue)
SetValue( options.value );
}
NumericTextCtrl::~NumericTextCtrl()