]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
common event code
[wxWidgets.git] / include / wx / listctrl.h
index 19c9cd13831e1d7531a2462ba0d39482e09f5746..d24c3007de0c29518e4eec30b3b08e554306af50 100644 (file)
@@ -30,7 +30,7 @@ extern WXDLLIMPEXP_DATA_CORE(const char) wxListCtrlNameStr[];
 
 #if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/listctrl.h"
-#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
+#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__) && wxOSX_USE_CARBON
     #include "wx/osx/carbon/listctrl.h"
 #else
     #include "wx/generic/listctrl.h"