]> git.saurik.com Git - wxWidgets.git/commitdiff
listctrl generic is used outside of osx-carbon
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 2 Sep 2008 11:52:20 +0000 (11:52 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 2 Sep 2008 11:52:20 +0000 (11:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/listctrl.h

index 65ee0336e6f595e380c98504bc6d2b734a23bfab..4ad98833ebfc668bdbeaa94b99e4107a68016326 100644 (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.