use more wxOVERRIDE (#329)

This commit is contained in:
Maarten
2016-09-25 22:21:28 +02:00
committed by paulcor
parent d0c57dbef0
commit 977a826639
66 changed files with 456 additions and 455 deletions

View File

@@ -54,7 +54,7 @@ public:
// it non-virtually and we need to do this to avoid infinite recursion,
// so we work around this by calling the method of this object itself
// manually in each function.
virtual bool SetForegroundColour(const wxColour& colour)
virtual bool SetForegroundColour(const wxColour& colour) wxOVERRIDE
{
if ( !BaseWindowClass::SetForegroundColour(colour) )
return false;
@@ -64,7 +64,7 @@ public:
return true;
}
virtual bool SetBackgroundColour(const wxColour& colour)
virtual bool SetBackgroundColour(const wxColour& colour) wxOVERRIDE
{
if ( !BaseWindowClass::SetBackgroundColour(colour) )
return false;
@@ -74,7 +74,7 @@ public:
return true;
}
virtual bool SetFont(const wxFont& font)
virtual bool SetFont(const wxFont& font) wxOVERRIDE
{
if ( !BaseWindowClass::SetFont(font) )
return false;
@@ -84,7 +84,7 @@ public:
return true;
}
virtual bool SetCursor(const wxCursor& cursor)
virtual bool SetCursor(const wxCursor& cursor) wxOVERRIDE
{
if ( !BaseWindowClass::SetCursor(cursor) )
return false;
@@ -94,7 +94,7 @@ public:
return true;
}
virtual void SetLayoutDirection(wxLayoutDirection dir)
virtual void SetLayoutDirection(wxLayoutDirection dir) wxOVERRIDE
{
BaseWindowClass::SetLayoutDirection(dir);
@@ -113,7 +113,7 @@ public:
}
#if wxUSE_TOOLTIPS
virtual void DoSetToolTipText(const wxString &tip)
virtual void DoSetToolTipText(const wxString &tip) wxOVERRIDE
{
BaseWindowClass::DoSetToolTipText(tip);
@@ -123,7 +123,7 @@ public:
SetForAllParts(func, tip);
}
virtual void DoSetToolTip(wxToolTip *tip)
virtual void DoSetToolTip(wxToolTip *tip) wxOVERRIDE
{
BaseWindowClass::DoSetToolTip(tip);
@@ -131,7 +131,7 @@ public:
}
#endif // wxUSE_TOOLTIPS
virtual void SetFocus()
virtual void SetFocus() wxOVERRIDE
{
wxSetFocusToChild(this, NULL);
}