Refactored validation of numeric properties (wxIntProperty, wxUIntProperty and wxFloatProperty). They now use (basically) a single template function instead of three separate ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-07-25 10:36:19 +00:00
parent 660b61d7e3
commit 7197bbad21
2 changed files with 55 additions and 101 deletions

View File

@@ -122,9 +122,9 @@ protected:
// -----------------------------------------------------------------------
/** Constants used with DoValidation() methods.
/** Constants used with NumericValidation<>().
*/
enum wxPGDoValidationConstants
enum wxPGNumericValidationConstants
{
/** Instead of modifying the value, show an error message.
*/