summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-10-12 19:30:09 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-10-12 19:30:09 (GMT)
commit3777c7414cf7ce927a2e71969018eab91f98815b (patch)
tree28cb5dda4a97398f7ef1d023955eefc1adcf3118 /win
parent8bb0c09912bcf8aaa8d5366525d7895c0fe96ad7 (diff)
parent549f2d1d605a90214702cc88d5516ac24e6996b2 (diff)
downloadtk-3777c7414cf7ce927a2e71969018eab91f98815b.zip
tk-3777c7414cf7ce927a2e71969018eab91f98815b.tar.gz
tk-3777c7414cf7ce927a2e71969018eab91f98815b.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},