X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da86e1776517d2403a687de08947698f5a608219..b0c4316ebd9fd30c72f2cc72fab75772fe7c52c3:/src/xrc/xh_panel.cpp diff --git a/src/xrc/xh_panel.cpp b/src/xrc/xh_panel.cpp index 035c6cade4..d059aebba8 100644 --- a/src/xrc/xh_panel.cpp +++ b/src/xrc/xh_panel.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_panel.h" #endif @@ -19,7 +19,7 @@ #pragma hdrstop #endif -#if wxUSE_XML && wxUSE_XRC +#if wxUSE_XRC #include "wx/xrc/xh_panel.h" #include "wx/panel.h" @@ -57,4 +57,4 @@ bool wxPanelXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxPanel")); } -#endif // wxUSE_XML && wxUSE_XRC +#endif // wxUSE_XRC