From: Stefan Csomor Date: Sat, 20 Jun 2009 23:10:10 +0000 (+0000) Subject: make sure theme font info is reset if anything is changed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9581362b151a80bc62bf3ed6f9fae70481ea7723 make sure theme font info is reset if anything is changed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/font.cpp b/src/osx/carbon/font.cpp index e6fd9cc650..c7998cd5a7 100644 --- a/src/osx/carbon/font.cpp +++ b/src/osx/carbon/font.cpp @@ -252,6 +252,9 @@ void wxFontRefData::Free() #endif m_cgFont.reset(); #if wxOSX_USE_ATSU_TEXT +#if wxOSX_USE_CARBON + m_macThemeFontID = kThemeCurrentPortFont ; +#endif if ( m_macATSUStyle ) { ::ATSUDisposeStyle((ATSUStyle)m_macATSUStyle);