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/branches/WX_3_0_BRANCH@75913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -634,7 +634,7 @@ bool wxRichTextFontPage::TransferDataToWindow()
|
|||||||
m_smallCapitalsCtrl->Set3StateValue(wxCHK_UNCHECKED);
|
m_smallCapitalsCtrl->Set3StateValue(wxCHK_UNCHECKED);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m_capitalsCtrl->Set3StateValue(wxCHK_UNDETERMINED);
|
m_smallCapitalsCtrl->Set3StateValue(wxCHK_UNDETERMINED);
|
||||||
|
|
||||||
if ( attr->GetTextEffectFlags() & (wxTEXT_ATTR_EFFECT_SUPERSCRIPT | wxTEXT_ATTR_EFFECT_SUBSCRIPT) )
|
if ( attr->GetTextEffectFlags() & (wxTEXT_ATTR_EFFECT_SUPERSCRIPT | wxTEXT_ATTR_EFFECT_SUBSCRIPT) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user