X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da86e1776517d2403a687de08947698f5a608219..8e1611724c42fdc3789032a9ac932be099440676:/src/xrc/xh_bmp.cpp diff --git a/src/xrc/xh_bmp.cpp b/src/xrc/xh_bmp.cpp index ab18f0acb3..47356ff0ed 100644 --- a/src/xrc/xh_bmp.cpp +++ b/src/xrc/xh_bmp.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_bmp.h" #endif @@ -19,7 +19,7 @@ #pragma hdrstop #endif -#if wxUSE_XML && wxUSE_XRC +#if wxUSE_XRC #include "wx/xrc/xh_bmp.h" #include "wx/bitmap.h" @@ -58,4 +58,4 @@ bool wxIconXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxIcon")); } -#endif // wxUSE_XML && wxUSE_XRC +#endif // wxUSE_XRC