mirror of https://github.com/BOINC/boinc.git
MGR: Fix the use of validators in our implementation of Wizards.
This commit is contained in:
parent
14d24440dc
commit
0c003b782d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue