font updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2007-12-01 05:21:11 +00:00
parent 7b1a66bb68
commit e51bc1ec1a
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -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