]> git.saurik.com Git - wxWidgets.git/commit
Implement wxFont::GetFaceName() to return the face name being really used.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Nov 2009 03:18:16 +0000 (03:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Nov 2009 03:18:16 +0000 (03:18 +0000)
commit9bd26720469feeb230da05b30f4c1cf7d9d7e703
treeade6f2125895af0d09fbc52e82a72711fb0d8d63
parent8e6c2840b4149e356350cac7449a96323b4466ec
Implement wxFont::GetFaceName() to return the face name being really used.

Since the change of r60391 empty face name was returned for all fonts created
using the standard wxFont constructor (so basically all fonts except for those
created from native font info and the default/normal font which we retrieve
from the system). Use Windows GetOutlineTextMetrics() function to get the real
face name being used independently of the way the font was created.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/font.cpp