Fix handling of wxTEXT_ATTR_EFFECT_SMALL_CAPITALS in wxRichTextFontPage.
Due to a typo when copy-and-pasting code wrong control was being updated. It would be better to have a function updating the given control from the given flag, of course, but for now just fix the bug. Closes #15990. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
592c0aa6a8
commit
0a5ea360d5
@ -686,7 +686,7 @@ bool wxRichTextFontPage::TransferDataToWindow()
|
||||
m_smallCapitalsCtrl->Set3StateValue(wxCHK_UNCHECKED);
|
||||
}
|
||||
else
|
||||
m_capitalsCtrl->Set3StateValue(wxCHK_UNDETERMINED);
|
||||
m_smallCapitalsCtrl->Set3StateValue(wxCHK_UNDETERMINED);
|
||||
|
||||
if ( attr->GetTextEffectFlags() & (wxTEXT_ATTR_EFFECT_SUPERSCRIPT | wxTEXT_ATTR_EFFECT_SUBSCRIPT) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user