]> git.saurik.com Git - wxWidgets.git/commitdiff
adapting to new font method
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 9 May 2009 14:45:03 +0000 (14:45 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 9 May 2009 14:45:03 +0000 (14:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/dataview_osx.cpp

index 7fd68d183c0c6c4b64988c42df36cdb141c44d30..f8a6889e1ed34c23c3118f955279f18bb88fd087 100644 (file)
@@ -633,7 +633,7 @@ wxVisualAttributes wxDataViewCtrl::GetClassDefaultAttributes(wxWindowVariant var
 
     attr.colFg = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT );
     attr.colBg = wxSystemSettings::GetColour( wxSYS_COLOUR_LISTBOX );
-    attr.font.MacCreateFromThemeFont(kThemeViewsFont);
+    attr.font.CreateSystemFont(wxOSX_SYSTEM_FONT_VIEWS);
 
     return attr;
 }