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
|
|
@ -86,9 +86,9 @@ enum class wxPGNumericValidationMode
|
|||
class wxNumericPropertyValidator : public wxTextValidator
|
||||
{
|
||||
public:
|
||||
enum NumericType
|
||||
enum class NumericType
|
||||
{
|
||||
Signed = 0,
|
||||
Signed,
|
||||
Unsigned,
|
||||
Float
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue