diff options
author | fvogel <fvogelnew1@free.fr> | 2016-10-12 19:30:58 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-10-12 19:30:58 (GMT) |
commit | 685b8e2972aff70596e861c3369e48067e55a112 (patch) | |
tree | 275f97c6fc6a3ef2764da393af50745092b95e9a /win | |
parent | a193632d10533d3800204b95ae54bb963f7f4e0e (diff) | |
parent | 3777c7414cf7ce927a2e71969018eab91f98815b (diff) | |
download | tk-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.c | 2 |
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}, |