]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
abstract VC6 workaround inside a WX_CPPUNIT_ALLOW_EQUALS_TO_INT() macro
[wxWidgets.git] / include / wx / listctrl.h
index 8bb9adcabce0da3bd531f06489bfc521a15c2788..d24c3007de0c29518e4eec30b3b08e554306af50 100644 (file)
@@ -30,8 +30,8 @@ extern WXDLLIMPEXP_DATA_CORE(const char) wxListCtrlNameStr[];
 
 #if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/listctrl.h"
-#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
-    #include "wx/mac/carbon/listctrl.h"
+#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__) && wxOSX_USE_CARBON
+    #include "wx/osx/carbon/listctrl.h"
 #else
     #include "wx/generic/listctrl.h"
 #endif