X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..6636ac1ea9f6f716dc51ca17c72516ebb08eb972:/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