Use enum class to represent NumericType

This is for better type safety.
This commit is contained in:
Artur Wieczorek 2024-01-06 17:53:35 +01:00
parent e7ab6a6d53
commit 3cb3d62212
4 changed files with 19 additions and 10 deletions

View file

@ -86,9 +86,9 @@ enum class wxPGNumericValidationMode
class wxNumericPropertyValidator : public wxTextValidator
{
public:
enum NumericType
enum class NumericType
{
Signed = 0,
Signed,
Unsigned,
Float
};