projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b2cf617
)
wxFont remembers facename of actual font used
author
Robin Dunn
<robin@alldunn.com>
Fri, 17 Mar 2000 18:16:08 +0000
(18:16 +0000)
committer
Robin Dunn
<robin@alldunn.com>
Fri, 17 Mar 2000 18:16:08 +0000
(18:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6804
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/font.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/font.cpp
b/src/msw/font.cpp
index e318eeb71f65e9480a377ba2567797a88ecb35e7..54ef9aced840e1700b153be9ca7939e08dfd581a 100644
(file)
--- 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");