-#if wxUSE_VALIDATOR
- /// Override the base functions to allow a validator to be assigned to this page.
- bool TransferDataToWindow()
+ // due to a typo in #if condition, the validation functions were disabled
+ // in 2.6.[01] releases so check for wxABI_VERSION here
+#if wxUSE_VALIDATORS && (wxABI_VERSION >= 20602)
+ // Override the base functions to allow a validator to be assigned to this page.
+ virtual bool TransferDataToWindow()