X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba1d7a6cec8d9569ce2e380d4a39ddcd4450c9b5..920b92a3fd568f012a8f7814d56640cb729ba993:/interface/wx/msgdlg.h diff --git a/interface/wx/msgdlg.h b/interface/wx/msgdlg.h index a868777134..781ec79cf9 100644 --- a/interface/wx/msgdlg.h +++ b/interface/wx/msgdlg.h @@ -82,7 +82,7 @@ public: Dialog position (ignored under MSW). */ wxMessageDialog(wxWindow* parent, const wxString& message, - const wxString& caption = "Message box", + const wxString& caption = wxMessageBoxCaptionStr, long style = wxOK | wxCENTRE, const wxPoint& pos = wxDefaultPosition); @@ -96,12 +96,12 @@ public: which don't support extended messages, it is simply appended to the normal message with a new line separating them. */ - void SetExtendedMessage(const wxString extendedMessage); + virtual void SetExtendedMessage(const wxString& extendedMessage); /** Sets the message shown by the dialog. */ - void SetMessage(const wxString msg); + virtual void SetMessage(const wxString& message); /** Overrides the default labels of the OK and Cancel buttons. @@ -123,8 +123,9 @@ public: Please see the remarks in SetYesNoLabels() documentation. */ - bool SetYesNoCancelLabels(const ButtonLabel& yes, const ButtonLabel& no, - const ButtonLabel& cancel); + virtual bool SetYesNoCancelLabels(const ButtonLabel& yes, + const ButtonLabel& no, + const ButtonLabel& cancel); /** Overrides the default labels of the Yes and No buttons.