font updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5026,7 +5026,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent,
|
|||||||
if ( GetWindowVariant() == wxWINDOW_VARIANT_NORMAL )
|
if ( GetWindowVariant() == wxWINDOW_VARIANT_NORMAL )
|
||||||
{
|
{
|
||||||
wxFont font;
|
wxFont font;
|
||||||
font.MacCreateThemeFont( kThemeViewsFont );
|
font.MacCreateFromThemeFont( kThemeViewsFont );
|
||||||
SetFont( font );
|
SetFont( font );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -5039,7 +5039,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent,
|
|||||||
if (m_headerWin)
|
if (m_headerWin)
|
||||||
{
|
{
|
||||||
wxFont font;
|
wxFont font;
|
||||||
font.MacCreateThemeFont( kThemeSmallSystemFont );
|
font.MacCreateFromThemeFont( kThemeSmallSystemFont );
|
||||||
m_headerWin->SetFont( font );
|
m_headerWin->SetFont( font );
|
||||||
CalculateAndSetHeaderHeight();
|
CalculateAndSetHeaderHeight();
|
||||||
}
|
}
|
||||||
|
@@ -791,7 +791,7 @@ void wxGenericTreeCtrl::Init()
|
|||||||
m_lastOnSame = false;
|
m_lastOnSame = false;
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
m_normalFont.MacCreateThemeFont( kThemeViewsFont ) ;
|
m_normalFont.MacCreateFromThemeFont( kThemeViewsFont ) ;
|
||||||
#else
|
#else
|
||||||
m_normalFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );
|
m_normalFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user