]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectlg.h
bugfixes, bugfixes, bugfixes...
[wxWidgets.git] / include / wx / generic / treectlg.h
index 461fb8f80b05f11fac242a996310979ddf1a5f90..7958708b1e97333921040f70069865d8c333129b 100644 (file)
@@ -16,6 +16,8 @@
     #pragma interface "treectlg.h"
 #endif
 
+#if wxUSE_TREECTRL
+
 #include "wx/defs.h"
 #include "wx/string.h"
 #include "wx/object.h"
@@ -423,7 +425,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxGenericTreeCtrl)
 };
 
-#if !defined(__WXMSW__) || defined(__WIN16__)
+#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__)
 /*
  * wxTreeCtrl has to be a real class or we have problems with
  * the run-time information.
@@ -450,5 +452,7 @@ public:
 
 #endif
 
+#endif // wxUSE_TREECTRL
+
 #endif // _GENERIC_TREECTRL_H_