MGR: Fix the use of validators in our implementation of Wizards.

This commit is contained in:
Rom Walton 2014-04-07 10:35:07 -04:00
parent 14d24440dc
commit 0c003b782d
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ public:
virtual wxWizardPageEx *GetPrev() const = 0;
virtual wxWizardPageEx *GetNext() const = 0;
#if wxUSE_VALIDATOR
#if wxUSE_VALIDATORS
/// Override the base functions to allow a validator to be assigned to this page.
bool TransferDataToWindow()
{
@ -77,7 +77,7 @@ public:
return GetValidator() ? GetValidator()->Validate(this)
: wxPanel::Validate();
}
#endif // wxUSE_VALIDATOR
#endif // wxUSE_VALIDATORS
protected:
// common part of ctors: