X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e974c5d258bbb398b0eed38397749d1d071dbbf8..af27647706cb7ca50cf04814ff867532919a252c:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 65ee0336e6..4ad98833eb 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -248,7 +248,7 @@ private: DECLARE_DYNAMIC_CLASS(wxGenericListCtrl) }; -#if (!defined(__WXMSW__) || defined(__WXUNIVERSAL__)) && (!defined(__WXMAC__) || defined(__WXUNIVERSAL__)) +#if (!defined(__WXMSW__) || defined(__WXUNIVERSAL__)) && (!(defined(__WXMAC__) && wxOSX_USE_CARBON) || defined(__WXUNIVERSAL__ )) /* * wxListCtrl has to be a real class or we have problems with * the run-time information.