]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_tree.cpp
Use Scintilla's functions for Unicode/UTF8 conversions
[wxWidgets.git] / src / xrc / xh_tree.cpp
index cb886cf3d97c15c68eace63b3994b79fbff5025b..5c892ebc7766054055fed4cc0e68b973024725ea 100644 (file)
@@ -19,7 +19,7 @@
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_TREECTRL
 
 #include "wx/xrc/xh_tree.h"
 #include "wx/treectrl.h"
 
 #include "wx/xrc/xh_tree.h"
 #include "wx/treectrl.h"
@@ -67,4 +67,4 @@ bool wxTreeCtrlXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxTreeCtrl"));
 }
 
     return IsOfClass(node, wxT("wxTreeCtrl"));
 }
 
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_TREECTRL