use wxOVERRIDE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-03-30 00:02:23 +00:00
parent ddd7ce624a
commit 8b4ae731d3
460 changed files with 4103 additions and 4107 deletions

View File

@@ -46,7 +46,7 @@ public:
// this one is called on application startup and is a good place for the app
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};
// Define a new frame type: this is going to be our main frame

View File

@@ -47,7 +47,7 @@ public:
// this one is called on application startup and is a good place for the app
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};

View File

@@ -46,8 +46,8 @@ public:
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual int OnExit();
virtual bool OnInit() wxOVERRIDE;
virtual int OnExit() wxOVERRIDE;
private:
wxHtmlHelpController *help;

View File

@@ -44,7 +44,7 @@ public:
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};
// Define a new frame type: this is going to be our main frame

View File

@@ -41,7 +41,7 @@
class MyApp : public wxApp
{
public:
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};
// Define a new html window type: this is a wrapper for handling wxHtmlWindow events
@@ -56,7 +56,7 @@ public:
virtual wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType WXUNUSED(type),
const wxString& WXUNUSED(url),
wxString *WXUNUSED(redirect)) const;
wxString *WXUNUSED(redirect)) const wxOVERRIDE;
// toggle drawing of custom background
void DrawCustomBg(bool draw)
@@ -110,7 +110,7 @@ private:
class BoldProcessor : public wxHtmlProcessor
{
public:
virtual wxString Process(const wxString& s) const
virtual wxString Process(const wxString& s) const wxOVERRIDE
{
wxString r(s);
r.Replace(wxT("<b>"), wxEmptyString);

View File

@@ -42,8 +42,8 @@ class MyVFS : public wxFileSystemHandler
public:
MyVFS() : wxFileSystemHandler() {}
wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
bool CanOpen(const wxString& location);
wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location) wxOVERRIDE;
bool CanOpen(const wxString& location) wxOVERRIDE;
};
bool MyVFS::CanOpen(const wxString& location)
@@ -94,7 +94,7 @@ public:
// this one is called on application startup and is a good place for the app
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};
// Define a new frame type: this is going to be our main frame

View File

@@ -87,7 +87,7 @@ public:
// this one is called on application startup and is a good place for the app
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};
// Define a new frame type: this is going to be our main frame

View File

@@ -43,7 +43,7 @@ public:
// this one is called on application startup and is a good place for the app
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual bool OnInit() wxOVERRIDE;
};
// Define a new frame type: this is going to be our main frame