]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
a better compilation fix
[wxWidgets.git] / include / wx / listctrl.h
index d92e26d7b00f539a7a36015c4ff003d1033d6d31..f8385b6ab58216768232a3b64d74b521912167ca 100644 (file)
@@ -28,14 +28,12 @@ extern WXDLLEXPORT_DATA(const wxChar) wxListCtrlNameStr[];
 // include the wxListCtrl class declaration
 // ----------------------------------------------------------------------------
 
-#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)
-    #include "wx/generic/listctrl.h"
-#endif
-
 #if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/listctrl.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/carbon/listctrl.h"
+#else
+    #include "wx/generic/listctrl.h"
 #endif
 
 // ----------------------------------------------------------------------------