use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,19 +80,19 @@ public:
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
// Override the base functions to allow a validator to be assigned to this page.
|
||||
virtual bool TransferDataToWindow()
|
||||
virtual bool TransferDataToWindow() wxOVERRIDE
|
||||
{
|
||||
return GetValidator() ? GetValidator()->TransferToWindow()
|
||||
: wxPanel::TransferDataToWindow();
|
||||
}
|
||||
|
||||
virtual bool TransferDataFromWindow()
|
||||
virtual bool TransferDataFromWindow() wxOVERRIDE
|
||||
{
|
||||
return GetValidator() ? GetValidator()->TransferFromWindow()
|
||||
: wxPanel::TransferDataFromWindow();
|
||||
}
|
||||
|
||||
virtual bool Validate()
|
||||
virtual bool Validate() wxOVERRIDE
|
||||
{
|
||||
return GetValidator() ? GetValidator()->Validate(this)
|
||||
: wxPanel::Validate();
|
||||
@@ -165,8 +165,8 @@ public:
|
||||
}
|
||||
|
||||
// base class pure virtuals
|
||||
virtual wxWizardPage *GetPrev() const;
|
||||
virtual wxWizardPage *GetNext() const;
|
||||
virtual wxWizardPage *GetPrev() const wxOVERRIDE;
|
||||
virtual wxWizardPage *GetNext() const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
// common part of ctors:
|
||||
@@ -246,9 +246,9 @@ public:
|
||||
/// Override these functions to stop InitDialog from calling TransferDataToWindow
|
||||
/// for _all_ pages when the wizard starts. Instead 'ShowPage' will call
|
||||
/// TransferDataToWindow for the first page only.
|
||||
bool TransferDataToWindow() { return true; }
|
||||
bool TransferDataFromWindow() { return true; }
|
||||
bool Validate() { return true; }
|
||||
bool TransferDataToWindow() wxOVERRIDE { return true; }
|
||||
bool TransferDataFromWindow() wxOVERRIDE { return true; }
|
||||
bool Validate() wxOVERRIDE { return true; }
|
||||
|
||||
private:
|
||||
wxDECLARE_NO_COPY_CLASS(wxWizardBase);
|
||||
@@ -279,7 +279,7 @@ public:
|
||||
|
||||
wxWizardPage* GetPage() const { return m_page; }
|
||||
|
||||
virtual wxEvent *Clone() const { return new wxWizardEvent(*this); }
|
||||
virtual wxEvent *Clone() const wxOVERRIDE { return new wxWizardEvent(*this); }
|
||||
|
||||
private:
|
||||
bool m_direction;
|
||||
|
Reference in New Issue
Block a user