X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1e4ec87317aa33fae6dbd8c55fbc699432d0026..914955aaa034862c3b9b827463cde26455d06c79:/src/xrc/xh_tree.cpp diff --git a/src/xrc/xh_tree.cpp b/src/xrc/xh_tree.cpp index cb886cf3d9..d9ee3ad6d6 100644 --- a/src/xrc/xh_tree.cpp +++ b/src/xrc/xh_tree.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_tree.h" #endif @@ -19,7 +19,7 @@ #pragma hdrstop #endif -#if wxUSE_XRC +#if wxUSE_XRC && wxUSE_TREECTRL #include "wx/xrc/xh_tree.h" #include "wx/treectrl.h" @@ -67,4 +67,4 @@ bool wxTreeCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxTreeCtrl")); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_TREECTRL