using statically allocated font objects for speedup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -973,7 +973,7 @@ void wxGenericTreeCtrl::Init()
|
||||
m_lastOnSame = false;
|
||||
|
||||
#if defined( __WXMAC__ )
|
||||
m_normalFont.CreateSystemFont(wxOSX_SYSTEM_FONT_VIEWS);
|
||||
m_normalFont = wxFont(wxOSX_SYSTEM_FONT_VIEWS);
|
||||
#else
|
||||
m_normalFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user