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
This commit is contained in:
Stefan Csomor 2008-09-02 11:52:20 +00:00
parent 973b546e8e
commit 5712a1f5fb

View File

@ -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.