]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treectrl.h
corrected conditional compilation tests
[wxWidgets.git] / include / wx / treectrl.h
index b30804c1e8f17e3101f294da0265c80d219b85cd..08e0e15973dda987c53ce3e6d4fa8d4708c3f3a9 100644 (file)
@@ -7,7 +7,9 @@
 // include the platform-dependent wxTreeCtrl class
 // ----------------------------------------------------------------------------
 
-#if defined(__WXMSW__)
+#if defined(__WXUNIVERSAL__)
+    #include "wx/generic/treectlg.h"
+#elif defined(__WXMSW__)
     #ifdef __WIN16__
         #include "wx/generic/treectlg.h"
     #else
     #include "wx/generic/treectlg.h"
 #endif
 
+/*
 #if !defined(__WXMSW__)
 #define wxTreeCtrl wxGenericTreeCtrl
 #define sm_classwxTreeCtrl sm_classwxGenericTreeCtrl
 #endif
+*/
 
 #endif
     // _WX_TREECTRL_H_BASE_