diff --git a/include/wx/msgdlg.h b/include/wx/msgdlg.h index ab7660d2b7..28e53d320b 100644 --- a/include/wx/msgdlg.h +++ b/include/wx/msgdlg.h @@ -103,8 +103,8 @@ public: // Title and caption are the same thing, GetCaption() mostly exists just // for compatibility. - virtual void SetTitle(const wxString& title) { m_caption = title; } - virtual wxString GetTitle() const { return m_caption; } + virtual void SetTitle(const wxString& title) wxOVERRIDE { m_caption = title; } + virtual wxString GetTitle() const wxOVERRIDE { return m_caption; } virtual void SetMessage(const wxString& message)