From: Stefan Csomor Date: Tue, 10 Mar 2009 21:27:20 +0000 (+0000) Subject: adding pure CoreText Impl X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d866bea43dd2ba3ca062371b4315361dd16f5ac1?ds=inline adding pure CoreText Impl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/listctrl_mac.cpp b/src/osx/carbon/listctrl_mac.cpp index c916795c59..f16559a92f 100644 --- a/src/osx/carbon/listctrl_mac.cpp +++ b/src/osx/carbon/listctrl_mac.cpp @@ -783,7 +783,11 @@ wxListCtrl::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant)) attr.colFg = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT ); attr.colBg = wxSystemSettings::GetColour( wxSYS_COLOUR_LISTBOX ); - attr.font.MacCreateFromThemeFont(kThemeViewsFont); +#if wxOSX_USE_ATSU_TEXT + attr.font.MacCreateFromThemeFont( kThemeViewsFont ) ; +#else + attr.font.MacCreateFromUIFont( kCTFontViewsFontType ) ; +#endif return attr; }