summaryrefslogtreecommitdiffstats
path: root/library/button.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-10 14:57:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-10 14:57:13 (GMT)
commit9ee99799480d660aca2908135f7dc6fd5cb6dbd5 (patch)
treefe09d282023ed498d42ae5a265d2031085f8fd6f /library/button.tcl
parent19d4434ebc6037f82f9855e75eca61fb12ea021c (diff)
parent6a2cb75b188aad9e6ecf9906ab5d1491647fbd09 (diff)
downloadtk-9ee99799480d660aca2908135f7dc6fd5cb6dbd5.zip
tk-9ee99799480d660aca2908135f7dc6fd5cb6dbd5.tar.gz
tk-9ee99799480d660aca2908135f7dc6fd5cb6dbd5.tar.bz2
[Bug 3534137]: $tcl_platform(platform) != [tk windowingsystem]
Diffstat (limited to 'library/button.tcl')
-rw-r--r--library/button.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/button.tcl b/library/button.tcl
index b817b76..d095b8a 100644
--- a/library/button.tcl
+++ b/library/button.tcl
@@ -39,7 +39,7 @@ if {[tk windowingsystem] eq "aqua"} {
tk::ButtonLeave %W
}
}
-if {"windows" eq $tcl_platform(platform)} {
+if {"win32" eq [tk windowingsystem]} {
bind Checkbutton <equal> {
tk::CheckRadioInvoke %W select
}
@@ -131,7 +131,7 @@ bind Radiobutton <Leave> {
tk::ButtonLeave %W
}
-if {"windows" eq $tcl_platform(platform)} {
+if {"win32" eq [tk windowingsystem]} {
#########################
# Windows implementation