diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-10 14:47:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-10 14:47:24 (GMT) |
commit | 6a2cb75b188aad9e6ecf9906ab5d1491647fbd09 (patch) | |
tree | a2856b5cd593cfd80fcf0b20a8de5530d052e66f /library/button.tcl | |
parent | 8044dc94ffdd371b04635b338f7f1185955102a7 (diff) | |
download | tk-6a2cb75b188aad9e6ecf9906ab5d1491647fbd09.zip tk-6a2cb75b188aad9e6ecf9906ab5d1491647fbd09.tar.gz tk-6a2cb75b188aad9e6ecf9906ab5d1491647fbd09.tar.bz2 |
[Bug 3534137]: $tcl_platform(platform) != [tk windowingsystem]
Diffstat (limited to 'library/button.tcl')
-rw-r--r-- | library/button.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/button.tcl b/library/button.tcl index 0da95f0..195566e 100644 --- a/library/button.tcl +++ b/library/button.tcl @@ -36,7 +36,7 @@ if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { tk::ButtonUp %W } } -if {"windows" eq $tcl_platform(platform)} { +if {"win32" eq [tk windowingsystem]} { bind Checkbutton <equal> { tk::CheckRadioInvoke %W select } @@ -125,7 +125,7 @@ bind Radiobutton <Leave> { tk::ButtonLeave %W } -if {"windows" eq $tcl_platform(platform)} { +if {"win32" eq [tk windowingsystem]} { ######################### # Windows implementation |