X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3fc616c075aef032dbb21400690e9cf6760b430..dad6a47e6d425673510b53e9a01114cdea2a5f2c:/src/univ/dialog.cpp diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index 6b42e73d02..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() )