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:
@@ -4307,8 +4307,7 @@ void wxGenericListCtrl::CreateOrDestroyHeaderWindowAsNeeded()
|
||||
);
|
||||
|
||||
#if defined( __WXMAC__ )
|
||||
wxFont font;
|
||||
font.CreateSystemFont( wxOSX_SYSTEM_FONT_SMALL );
|
||||
static wxFont font( wxOSX_SYSTEM_FONT_SMALL );
|
||||
m_headerWin->SetFont( font );
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user