use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit();
|
||||
bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
// Define a new frame type
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
const long style = wxDEFAULT_DIALOG_STYLE);
|
||||
|
||||
bool TransferDataToWindow();
|
||||
bool TransferDataToWindow() wxOVERRIDE;
|
||||
wxTextCtrl *m_text;
|
||||
wxComboBox *m_combobox;
|
||||
|
||||
@@ -88,14 +88,14 @@ public:
|
||||
MyComboBoxValidator(const MyComboBoxValidator& tocopy) { m_var=tocopy.m_var; }
|
||||
MyComboBoxValidator(wxString* var) { m_var=var; }
|
||||
|
||||
virtual bool Validate(wxWindow* parent);
|
||||
virtual wxObject* Clone() const { return new MyComboBoxValidator(*this); }
|
||||
virtual bool Validate(wxWindow* parent) wxOVERRIDE;
|
||||
virtual wxObject* Clone() const wxOVERRIDE { return new MyComboBoxValidator(*this); }
|
||||
|
||||
// Called to transfer data to the window
|
||||
virtual bool TransferToWindow();
|
||||
virtual bool TransferToWindow() wxOVERRIDE;
|
||||
|
||||
// Called to transfer data from the window
|
||||
virtual bool TransferFromWindow();
|
||||
virtual bool TransferFromWindow() wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
wxString* m_var;
|
||||
|
Reference in New Issue
Block a user