]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
mingw compilation fix
[wxWidgets.git] / include / wx / msw / treectrl.h
index 483f2023b56c192c736b2d1d13b7f6eb1274ef6f..f995392953c90f1093051964095db058f7f1c92a 100644 (file)
@@ -20,6 +20,8 @@
     #pragma interface "treectrl.h"
 #endif
 
+#if wxUSE_TREECTRL
+
 #include "wx/textctrl.h"
 #include "wx/dynarray.h"
 #include "wx/treebase.h"
@@ -452,5 +454,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxTreeCtrl)
 };
 
+#endif // wxUSE_TREECTRL
+
 #endif
     // _WX_TREECTRL_H_