Corrected GetFontAttributes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2008-02-26 17:55:19 +00:00
parent 194727706f
commit c40766261b

View File

@ -354,6 +354,8 @@ bool wxTextAttr::GetFontAttributes(const wxFont& font, int flags)
if (flags & wxTEXT_ATTR_FONT_ENCODING)
m_fontEncoding = font.GetEncoding();
m_flags |= flags;
return true;
}