X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1e4ec87317aa33fae6dbd8c55fbc699432d0026..6636ac1ea9f6f716dc51ca17c72516ebb08eb972:/src/xrc/xh_tree.cpp diff --git a/src/xrc/xh_tree.cpp b/src/xrc/xh_tree.cpp index cb886cf3d9..5c892ebc77 100644 --- a/src/xrc/xh_tree.cpp +++ b/src/xrc/xh_tree.cpp @@ -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