use wxOVERRIDE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-10-25 18:06:36 +00:00
parent f97112a21e
commit 2b4b8e044b

View File

@@ -103,8 +103,8 @@ public:
// Title and caption are the same thing, GetCaption() mostly exists just // Title and caption are the same thing, GetCaption() mostly exists just
// for compatibility. // for compatibility.
virtual void SetTitle(const wxString& title) { m_caption = title; } virtual void SetTitle(const wxString& title) wxOVERRIDE { m_caption = title; }
virtual wxString GetTitle() const { return m_caption; } virtual wxString GetTitle() const wxOVERRIDE { return m_caption; }
virtual void SetMessage(const wxString& message) virtual void SetMessage(const wxString& message)