X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e9f62dafb75dc5baa3800af456d1b0248d85357..4a46a5df879c4f820d0a0a435b34c7d5e4793991:/src/univ/dialog.cpp diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index 0f5bd56000..6b42e73d02 100644 --- a/src/univ/dialog.cpp +++ b/src/univ/dialog.cpp @@ -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;