summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-10-12 19:30:58 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-10-12 19:30:58 (GMT)
commit685b8e2972aff70596e861c3369e48067e55a112 (patch)
tree275f97c6fc6a3ef2764da393af50745092b95e9a /win
parenta193632d10533d3800204b95ae54bb963f7f4e0e (diff)
parent3777c7414cf7ce927a2e71969018eab91f98815b (diff)
downloadtk-685b8e2972aff70596e861c3369e48067e55a112.zip
tk-685b8e2972aff70596e861c3369e48067e55a112.tar.gz
tk-685b8e2972aff70596e861c3369e48067e55a112.tar.bz2
Fixed [3217462fff] - Tri-state buttons not working for non-native themes
Diffstat (limited to 'win')
-rw-r--r--win/ttkWinXPTheme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 08569a3..3de1504 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -208,6 +208,8 @@ static Ttk_StateTable checkbox_statemap[] =
*/
static Ttk_StateTable radiobutton_statemap[] =
{
+{RBS_UNCHECKEDDISABLED, TTK_STATE_ALTERNATE|TTK_STATE_DISABLED, 0},
+{RBS_UNCHECKEDNORMAL, TTK_STATE_ALTERNATE, 0},
{RBS_CHECKEDDISABLED, TTK_STATE_SELECTED|TTK_STATE_DISABLED, 0},
{RBS_CHECKEDPRESSED, TTK_STATE_SELECTED|TTK_STATE_PRESSED, 0},
{RBS_CHECKEDHOT, TTK_STATE_SELECTED|TTK_STATE_ACTIVE, 0},