X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12e424d28f9f82575c1ebb3fe57cd654a3a8d513..3a3dde0d44c43bc70a1e9791381ada04b4953a5d:/src/msw/msgdlg.cpp diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index 5312a8ec06..83b2d98d22 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -33,18 +33,6 @@ IMPLEMENT_CLASS(wxMessageDialog, wxDialog) -wxMessageDialog::wxMessageDialog(wxWindow *parent, - const wxString& message, - const wxString& caption, - long style, - const wxPoint& WXUNUSED(pos)) -{ - m_caption = caption; - m_message = message; - m_parent = parent; - SetMessageDialogStyle(style); -} - int wxMessageDialog::ShowModal() { if ( !wxTheApp->GetTopWindow() ) @@ -110,7 +98,7 @@ int wxMessageDialog::ShowModal() // per MSDN documentation for MessageBox() we can prefix the message with 2 // right-to-left mark characters to tell the function to use RTL layout // (unfortunately this only works in Unicode builds) - wxString message = m_message; + wxString message = GetFullMessage(); #if wxUSE_UNICODE if ( wxTheApp->GetLayoutDirection() == wxLayout_RightToLeft ) {