mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 18:22:01 +08:00
Use enum class to represent NumericType
This is for better type safety.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user