diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-10 14:57:13 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-10 14:57:13 (GMT) |
commit | 56f176afc83e97dba8c9bec90e452fa8259e3ec1 (patch) | |
tree | fe09d282023ed498d42ae5a265d2031085f8fd6f /library/button.tcl | |
parent | 2d33d1ed4201ce2af7da9b47d5b3a72505b48c2c (diff) | |
parent | 67fbe2530b1f554399831b61f7d03ab1ef722ef7 (diff) | |
download | tk-56f176afc83e97dba8c9bec90e452fa8259e3ec1.zip tk-56f176afc83e97dba8c9bec90e452fa8259e3ec1.tar.gz tk-56f176afc83e97dba8c9bec90e452fa8259e3ec1.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 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 |