X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e25f954b9600dcac0954d68d346c0d7879f6b97a..993da3969b28e4f80b492cc26114fb0e151163cb:/src/univ/dialog.cpp?ds=sidebyside 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() )