From b6efa4b335e696c7d7f6d2f2b2aab4eaafa1b392 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Thu, 29 Nov 2007 07:35:45 +0000 Subject: [PATCH] Fix for wxCocoaMessageDialog construction accidently using the totally wrong wxDialog constructor. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/msgdlg.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa/msgdlg.mm b/src/cocoa/msgdlg.mm index 8a52415d7c..a137d9865a 100644 --- a/src/cocoa/msgdlg.mm +++ b/src/cocoa/msgdlg.mm @@ -47,7 +47,7 @@ wxCocoaMessageDialog::wxCocoaMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption, long style, - const wxPoint& pos) : wxDialog(parent,message,caption,style) + const wxPoint& pos) : wxDialog(parent,wxID_ANY,caption, pos, wxDefaultSize, style) { m_caption = caption;