summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-10-05 15:46:23 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-10-05 15:46:23 (GMT)
commit549f2d1d605a90214702cc88d5516ac24e6996b2 (patch)
treea502837fda7ec1b48533d0dbb06e31b672879a62
parent5f5b571ffeda160176a575beb298a510a46b4751 (diff)
downloadtk-549f2d1d605a90214702cc88d5516ac24e6996b2.zip
tk-549f2d1d605a90214702cc88d5516ac24e6996b2.tar.gz
tk-549f2d1d605a90214702cc88d5516ac24e6996b2.tar.bz2
'xpnative' and 'vista' (and 'aqua') themes: 'alternate on' changed to be identical to 'alternate', for radiobuttonsbug_3217462
-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},