]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/msgdlg.cpp
Removed floor() references
[wxWidgets.git] / src / msw / msgdlg.cpp
index a3f4628ae1d358e8df20e82da04620eec7661294..5abe1042a5ebac3e31b777188180fa000fa92a9c 100644 (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;
-}
-
-