From 302af8f3b3af6730c1e62a03122ab3f640c00a33 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Feb 2014 23:55:13 +0000 Subject: [PATCH] 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 --- src/richtext/richtextfontpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextfontpage.cpp b/src/richtext/richtextfontpage.cpp index c83c0d7a48..f78259bc2e 100644 --- a/src/richtext/richtextfontpage.cpp +++ b/src/richtext/richtextfontpage.cpp @@ -634,7 +634,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) ) {