X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da86e1776517d2403a687de08947698f5a608219..b384c0fb4c8735c81559e82efa59d600a4fbdd71:/src/xrc/xh_gdctl.cpp diff --git a/src/xrc/xh_gdctl.cpp b/src/xrc/xh_gdctl.cpp index 6cb07ef41f..37a01cecc7 100644 --- a/src/xrc/xh_gdctl.cpp +++ b/src/xrc/xh_gdctl.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_gdctl.h" #endif @@ -19,7 +19,7 @@ #pragma hdrstop #endif -#if wxUSE_XML && wxUSE_XRC && wxUSE_DIRDLG +#if wxUSE_XRC && wxUSE_DIRDLG #include "wx/textctrl.h" #include "wx/xrc/xh_gdctl.h" @@ -60,4 +60,4 @@ bool wxGenericDirCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxGenericDirCtrl")); } -#endif // wxUSE_XML && wxUSE_XRC && wxUSE_DIRDLG +#endif // wxUSE_XRC && wxUSE_DIRDLG