git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6804
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
LOGFONT lf;
wxFillLogFont(&lf, this);
M_FONTDATA->m_hFont = (WXHFONT)::CreateFontIndirect(&lf);
LOGFONT lf;
wxFillLogFont(&lf, this);
M_FONTDATA->m_hFont = (WXHFONT)::CreateFontIndirect(&lf);
+ M_FONTDATA->m_faceName = lf.lfFaceName;
if ( !M_FONTDATA->m_hFont )
{
wxLogLastError("CreateFont");
if ( !M_FONTDATA->m_hFont )
{
wxLogLastError("CreateFont");