]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_tree.cpp
use GTK-specific GUI lock
[wxWidgets.git] / src / xrc / xh_tree.cpp
index a0b32fd6adaea2c0182218fc54f3465fbc169242..5c3e346f785394c44f3656693043084178f71970 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "xh_tree.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -19,6 +15,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC && wxUSE_TREECTRL
+
 #include "wx/xrc/xh_tree.h"
 #include "wx/treectrl.h"
 
@@ -64,3 +62,5 @@ bool wxTreeCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxTreeCtrl"));
 }
+
+#endif // wxUSE_XRC && wxUSE_TREECTRL