X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29d0a26e659591844117a3387f300648ee265bf5..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/generic/msgdlgg.cpp diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index d63a6e1217..7e2d9de6c0 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "msgdlgg.h" #endif @@ -20,7 +20,7 @@ #pragma hdrstop #endif -#if wxUSE_MSGDLG +#if wxUSE_MSGDLG && !defined(__WXGTK20__) #ifndef WX_PRECOMP #include "wx/utils.h" @@ -162,5 +162,5 @@ void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event)) } } -#endif // wxUSE_MSGDLG +#endif // wxUSE_MSGDLG && !defined(__WXGTK20__)