More use of wxOVERRIDE

This commit is contained in:
Maarten Bent
2018-03-06 23:12:19 +01:00
parent 2881d9875a
commit 3b9aeaeb2f
17 changed files with 97 additions and 97 deletions

View File

@@ -95,10 +95,10 @@ class App: public wxApp {
public:
//! the main function called during application start
virtual bool OnInit ();
virtual bool OnInit () wxOVERRIDE;
//! application exit function
virtual int OnExit ();
virtual int OnExit () wxOVERRIDE;
private:
//! frame window
@@ -762,7 +762,7 @@ public:
SetWrapMode(wxSTC_WRAP_WORD);
SetWrapVisualFlags(wxSTC_WRAPVISUALFLAG_END);
}
virtual bool SetFont(const wxFont& font)
virtual bool SetFont(const wxFont& font) wxOVERRIDE
{
StyleSetFont(wxSTC_STYLE_DEFAULT, (wxFont&)font);
return wxStyledTextCtrl::SetFont(font);