]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treectrl.h
compilation fix -- a better way
[wxWidgets.git] / include / wx / treectrl.h
index 1a2cc60c1c4651c70a1288122a90ad31ae89092f..8b5b215034101e6686a5bed2f72b5cc3129479eb 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
@@ -17,8 +19,6 @@
     #include "wx/generic/treectlg.h"
 #elif defined(__WXGTK__)
     #include "wx/generic/treectlg.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/treectrl.h"
 #elif defined(__WXMAC__)
     #include "wx/generic/treectlg.h"
 #elif defined(__WXPM__)
@@ -34,7 +34,5 @@
 #endif
 */
 
-#endif
-    // _WX_TREECTRL_H_BASE_
-
+#endif // _WX_TREECTRL_H_BASE_