X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..0bf36922c8a60f19dccc3889c15b281fc94d69c5:/src/palmos/msgdlg.cpp?ds=inline diff --git a/src/palmos/msgdlg.cpp b/src/palmos/msgdlg.cpp index 4c1f7732b5..bde9907eb2 100644 --- a/src/palmos/msgdlg.cpp +++ b/src/palmos/msgdlg.cpp @@ -28,18 +28,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() { int AlertID=1000; @@ -111,7 +99,7 @@ int wxMessageDialog::ShowModal() DmReleaseResource(AlertHandle); // Display the dialog - Result=FrmCustomAlert(AppDB,AlertID,m_message.c_str(),"",""); + Result=FrmCustomAlert(AppDB,AlertID,GetFullMessage().c_str(),"",""); // Convert the Palm OS result to wxResult if(AlertID<1100)