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