*** empty log message ***

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-05-21 15:02:02 +00:00
parent aad5220b82
commit 10b959e372
18 changed files with 3723 additions and 45 deletions

View File

@@ -103,36 +103,3 @@ int wxMessageDialog::ShowModal(void)
return ans;
}
/*
* Common dialogs
*
*/
// Pop up a message box
int wxMessageBox(const wxString& message, const wxString& caption, const long style,
wxWindow *parent, const int x, const int y)
{
wxMessageDialog dialog(parent, message, caption, style);
int ans = dialog.ShowModal();
switch ( ans )
{
case wxID_OK:
return wxOK;
break;
case wxID_YES:
return wxYES;
break;
case wxID_NO:
return wxNO;
break;
default:
case wxID_CANCEL:
return wxCANCEL;
break;
}
return ans;
}