X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f165e74326dee190e4ff7462190271543a92034..bf12aaa589c56f51417bdad2427cbfc0d9e4fc8b:/interface/wx/msgdlg.h diff --git a/interface/wx/msgdlg.h b/interface/wx/msgdlg.h index 5d2d37361a..1dde94ee77 100644 --- a/interface/wx/msgdlg.h +++ b/interface/wx/msgdlg.h @@ -6,6 +6,12 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +/** + Default message box caption string. +*/ +const char wxMessageBoxCaptionStr[] = "Message"; + + /** @class wxMessageDialog @@ -314,8 +320,8 @@ public: @header{wx/msgdlg.h} */ int wxMessageBox(const wxString& message, - const wxString& caption = "Message", - int style = wxOK, + const wxString& caption = wxMessageBoxCaptionStr, + int style = wxOK | wxCENTRE, wxWindow* parent = NULL, int x = wxDefaultCoord, int y = wxDefaultCoord);