From fb04b3438d6b291e49b27ba22d2564db47fb308b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 17 Mar 2000 18:16:08 +0000 Subject: [PATCH] wxFont remembers facename of actual font used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/font.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/msw/font.cpp b/src/msw/font.cpp index e318eeb71f..54ef9aced8 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -204,6 +204,7 @@ bool wxFont::RealizeResource() 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"); -- 2.50.0