]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/msgdlg.cpp
Removed obsolete ODBC classes.
[wxWidgets.git] / src / mac / carbon / msgdlg.cpp
index f7a4a0a7248189ccbb5de42250e094bbcc469a35..732a2f48bac3efb2f2e7f7cb8b7ab1c88bdda580 100644 (file)
@@ -120,7 +120,8 @@ int wxMessageDialog::ShowModal()
                 param.cancelButton     = 0;
             }
         }
-        else if (m_dialogStyle & wxOK)
+        // the msw implementation even shows an ok button if it is not specified, we'll do the same
+        else 
         {
             if (m_dialogStyle & wxCANCEL)
             {
@@ -142,10 +143,12 @@ int wxMessageDialog::ShowModal()
                 param.cancelButton     = 0;
             }
         }
+        /*
         else
         {
             skipDialog = true ;
         }
+        */
         
         param.position = kWindowDefaultPosition;
         if ( !skipDialog )