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 | c8f0062c64f9fc019a92e9bbc8918aa3e4ba1571 (patch) | |
tree | a2856b5cd593cfd80fcf0b20a8de5530d052e66f /library/button.tcl | |
parent | b9eb35ddebc45ca5424bb3c24d03c3585ba6030f (diff) | |
download | tk-c8f0062c64f9fc019a92e9bbc8918aa3e4ba1571.zip tk-c8f0062c64f9fc019a92e9bbc8918aa3e4ba1571.tar.gz tk-c8f0062c64f9fc019a92e9bbc8918aa3e4ba1571.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 |