]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
removed samples topic overview; the samples are part of mainpages/utilities.h now
[wxWidgets.git] / src / common / textcmn.cpp
index 82d65858258ac1d9adbeaf8c23dd38a0cf19c03d..46741123c2ed8e62ab10a6ff6f237c5dedd6dac0 100644 (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;
 }