use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,7 +72,7 @@ class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
// override base class virtuals
|
||||
virtual bool OnInit();
|
||||
virtual bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
class MyFrame : public wxFrame
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
SetSizerAndFit(mainSizer);
|
||||
}
|
||||
|
||||
virtual bool TransferDataFromWindow()
|
||||
virtual bool TransferDataFromWindow() wxOVERRIDE
|
||||
{
|
||||
if ( !m_checkbox->GetValue() )
|
||||
{
|
||||
@@ -315,8 +315,8 @@ public:
|
||||
}
|
||||
|
||||
// implement wxWizardPage functions
|
||||
virtual wxWizardPage *GetPrev() const { return m_prev; }
|
||||
virtual wxWizardPage *GetNext() const
|
||||
virtual wxWizardPage *GetPrev() const wxOVERRIDE { return m_prev; }
|
||||
virtual wxWizardPage *GetNext() const wxOVERRIDE
|
||||
{
|
||||
return m_checkbox->GetValue() ? m_next->GetNext() : m_next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user