From fe9b56985f2a8e58a493f2b13b262705ad172706 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Feb 2012 23:49:42 +0000 Subject: [PATCH] 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 --- interface/wx/msgdlg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.50.0