Corrected GetFontAttributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
194727706f
commit
c40766261b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user