X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12bba77343654dc309a69ca2bcb5e0041c658395..41286fd1def19641be3ae5bb9666c84a1c0b5525:/src/univ/dialog.cpp diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index 0f5e47b9a4..6b42e73d02 100644 --- a/src/univ/dialog.cpp +++ b/src/univ/dialog.cpp @@ -196,6 +196,11 @@ int wxDialog::ShowModal() 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;