X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b22d16ad20a51052d24d538c22237c97b0ee0b53..cc402e6431b66a8eb7d567caa55a1bece42902b7:/src/univ/dialog.cpp diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index 4116e83c3d..40b3f7efe8 100644 --- a/src/univ/dialog.cpp +++ b/src/univ/dialog.cpp @@ -14,7 +14,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univdialog.h" #endif @@ -166,11 +166,6 @@ bool wxDialog::IsModal() const return m_isShowingModal; } -void wxDialog::SetModal(bool WXUNUSED(flag)) -{ - wxFAIL_MSG( wxT("wxDialog:SetModal obsolete now") ); -} - int wxDialog::ShowModal() { if ( IsModal() ) @@ -196,9 +191,9 @@ int wxDialog::ShowModal() wxASSERT_MSG( !m_windowDisabler, _T("disabling windows twice?") ); -#ifdef __WXGTK__ +#if defined(__WXGTK__) || defined(__WXMGL__) wxBusyCursorSuspender suspender; - // FIXME - make sure busy cursor disappears under MSW too + // FIXME (FIXME_MGL) - make sure busy cursor disappears under MSW too #endif m_windowDisabler = new wxWindowDisabler(this);