From: Stefan Csomor Date: Sat, 1 Dec 2007 05:21:11 +0000 (+0000) Subject: font updates X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e51bc1ec1ae4f8e61d408905bc11bda9948596e2 font updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 3a7a7bbdbb..a5b504235f 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -5026,7 +5026,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent, if ( GetWindowVariant() == wxWINDOW_VARIANT_NORMAL ) { wxFont font; - font.MacCreateThemeFont( kThemeViewsFont ); + font.MacCreateFromThemeFont( kThemeViewsFont ); SetFont( font ); } #endif @@ -5039,7 +5039,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent, if (m_headerWin) { wxFont font; - font.MacCreateThemeFont( kThemeSmallSystemFont ); + font.MacCreateFromThemeFont( kThemeSmallSystemFont ); m_headerWin->SetFont( font ); CalculateAndSetHeaderHeight(); } diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index d28e2bc4b9..f4f6800fa7 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -791,7 +791,7 @@ void wxGenericTreeCtrl::Init() m_lastOnSame = false; #ifdef __WXMAC__ - m_normalFont.MacCreateThemeFont( kThemeViewsFont ) ; + m_normalFont.MacCreateFromThemeFont( kThemeViewsFont ) ; #else m_normalFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT ); #endif