]> git.saurik.com Git - wxWidgets.git/commitdiff
adding pure CoreText Impl
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 10 Mar 2009 21:27:20 +0000 (21:27 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 10 Mar 2009 21:27:20 +0000 (21:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/listctrl_mac.cpp

index c916795c59b65f19ac2a8be7289544d911409b65..f16559a92fab185f2e37602220af0ebed912b5b5 100644 (file)
@@ -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;
 }