From: Vadim Zeitlin Date: Sat, 25 Feb 2012 23:49:42 +0000 (+0000) Subject: Minor fixes to wxMessageBox() documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fe9b56985f2a8e58a493f2b13b262705ad172706 Minor fixes to wxMessageBox() documentation. Correct the default parameters values. Closes #14043. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/msgdlg.h b/interface/wx/msgdlg.h index 5d2d37361a..845a060350 100644 --- a/interface/wx/msgdlg.h +++ b/interface/wx/msgdlg.h @@ -314,8 +314,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);