X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12bba77343654dc309a69ca2bcb5e0041c658395..4a09bc4e34a16a5a608d7ae1dca60d29a1765f19:/src/univ/dialog.cpp?ds=sidebyside 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;