]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/dialog.cpp
workaroung for handling problems because groupboxes are not included in the parent...
[wxWidgets.git] / src / univ / dialog.cpp
index 0f5bd5600093f5638e9a675c585fbad4b3609cee..6b42e73d02c72a13fdaf3bea6cd218871fa235f7 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?") );
 
+#if defined(__WXGTK__) || defined(__WXMGL__)
+    wxBusyCursorSuspender suspender;
+    // FIXME (FIXME_MGL) - make sure busy cursor disappears under MSW too
+#endif
+
     m_windowDisabler = new wxWindowDisabler(this);
     if ( !m_eventLoop )
         m_eventLoop = new wxEventLoop;