Refactor code for numeric validation in numeric wxPG properties
Move template function NumericValidation() to wxNumericProperty because all data necessary to validate the value are available here: acceptable value range, SpinCtrl editor value wrapping mode, etc.
This commit is contained in:
@@ -146,9 +146,6 @@ public:
|
||||
*/
|
||||
bool UseSpinMotion() const;
|
||||
|
||||
wxVariant GetMinVal() const;
|
||||
wxVariant GetMaxVal() const;
|
||||
|
||||
protected:
|
||||
/**
|
||||
Constructor is protected because wxNumericProperty is only a base
|
||||
|
Reference in New Issue
Block a user