Use enum class to represent NumericType
This is for better type safety.
This commit is contained in:
parent
e7ab6a6d53
commit
3cb3d62212
4 changed files with 19 additions and 10 deletions
|
|
@ -632,7 +632,7 @@ wxValidator* wxArrayDoubleProperty::DoGetValidator() const
|
|||
WX_PG_DOGETVALIDATOR_ENTRY()
|
||||
|
||||
wxTextValidator* validator =
|
||||
new wxNumericPropertyValidator(wxNumericPropertyValidator::Float);
|
||||
new wxNumericPropertyValidator(wxNumericPropertyValidator::NumericType::Float);
|
||||
|
||||
// Accept also a delimiter and space character
|
||||
validator->AddCharIncludes(m_delimiter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue