X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..c0b0635cf69537ca32377bad5650b39402cb21b6:/src/xrc/xh_tree.cpp diff --git a/src/xrc/xh_tree.cpp b/src/xrc/xh_tree.cpp index a0b32fd6ad..5c892ebc77 100644 --- a/src/xrc/xh_tree.cpp +++ b/src/xrc/xh_tree.cpp @@ -19,6 +19,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC && wxUSE_TREECTRL + #include "wx/xrc/xh_tree.h" #include "wx/treectrl.h" @@ -64,3 +66,5 @@ bool wxTreeCtrlXmlHandler::CanHandle(wxXmlNode *node) { return IsOfClass(node, wxT("wxTreeCtrl")); } + +#endif // wxUSE_XRC && wxUSE_TREECTRL