Fixed a problem with text effects flag always being set on dialog exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
270bae200d
commit
31f95a7faf
@ -475,6 +475,9 @@ bool wxRichTextFontPage::TransferDataFromWindow()
|
||||
attr->SetTextEffects(attr->GetTextEffects() & ~(wxTEXT_ATTR_EFFECT_SUBSCRIPT|wxTEXT_ATTR_EFFECT_SUPERSCRIPT) );
|
||||
}
|
||||
|
||||
if (attr->GetTextEffectFlags() == 0)
|
||||
attr->SetFlags(attr->GetFlags() & ~wxTEXT_ATTR_EFFECTS);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user