]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/dialog.cpp
Fixed compile errors, warnings and other DSMs, and improved comments.
[wxWidgets.git] / src / univ / dialog.cpp
index 0f5bd5600093f5638e9a675c585fbad4b3609cee..4116e83c3db8b6173b73042523f12cc196e61bef 100644 (file)
@@ -190,14 +190,17 @@ int wxDialog::ShowModal()
         }
     }
 
         }
     }
 
-    wxBusyCursorSuspender cs; // temporarily suppress the busy cursor
-
     Show(TRUE);
 
     m_isShowingModal = TRUE;
 
     wxASSERT_MSG( !m_windowDisabler, _T("disabling windows twice?") );
 
     Show(TRUE);
 
     m_isShowingModal = TRUE;
 
     wxASSERT_MSG( !m_windowDisabler, _T("disabling windows twice?") );
 
+#ifdef __WXGTK__
+    wxBusyCursorSuspender suspender;
+    // FIXME - make sure busy cursor disappears under MSW too
+#endif
+
     m_windowDisabler = new wxWindowDisabler(this);
     if ( !m_eventLoop )
         m_eventLoop = new wxEventLoop;
     m_windowDisabler = new wxWindowDisabler(this);
     if ( !m_eventLoop )
         m_eventLoop = new wxEventLoop;