From: Stefan Csomor Date: Tue, 2 Sep 2008 11:52:20 +0000 (+0000) Subject: listctrl generic is used outside of osx-carbon X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5712a1f5fb57086dbf42d5c1c236bb1eb9bda857?ds=inline listctrl generic is used outside of osx-carbon git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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.