Add default values for wxRichMessageDialog ctor arguments.

Both "caption" and "style" arguments were documented as having default values,
but didn't really have them. Fix this by actually adding them.

Closes #16524.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-09-04 19:45:08 +00:00
parent 11bcefe243
commit 14d9429e88
3 changed files with 6 additions and 6 deletions

View File

@@ -15,8 +15,8 @@ class WXDLLIMPEXP_CORE wxRichMessageDialog : public wxGenericRichMessageDialog
public:
wxRichMessageDialog(wxWindow *parent,
const wxString& message,
const wxString& caption,
long style)
const wxString& caption = wxMessageBoxCaptionStr,
long style = wxOK | wxCENTRE)
: wxGenericRichMessageDialog(parent, message, caption, style)
{ }