const wxString& caption,
long style,
const wxPoint& WXUNUSED(pos))
- : wxMessageDialogWithCustomLabels(parent, message, caption, style)
+ : wxMessageDialogBase(parent, message, caption, style)
{
}
//
// if the extended text is not empty we ignore the caption
// and use the message and the extended message
-
-
+
+
wxString msgtitle,msgtext;
if(m_extendedMessage.IsEmpty())
{
{
DialogRef alertRef;
CreateStandardAlert( alertType, cfTitle, cfText, ¶m, &alertRef );
+ wxDialog::OSXBeginModalDialog();
RunStandardAlert( alertRef, NULL, &result );
+ wxDialog::OSXEndModalDialog();
}
else
{
}
}
}
-
+
SetReturnCode(resultbutton);
return resultbutton;