summaryrefslogtreecommitdiffstats
path: root/library/spinbox.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-06-10 14:58:08 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-06-10 14:58:08 (GMT)
commit25aee4d5864dcfb1a8a2c155162bbbd7ff0dbcf3 (patch)
tree741f4b49474055d2c37007d780f15d4c7772c3e1 /library/spinbox.tcl
parentb326c29421c843c876c982e7e99bb52dea60683b (diff)
parent399c2bef0033d19ea41050d129c85cb41c89935f (diff)
downloadtk-25aee4d5864dcfb1a8a2c155162bbbd7ff0dbcf3.zip
tk-25aee4d5864dcfb1a8a2c155162bbbd7ff0dbcf3.tar.gz
tk-25aee4d5864dcfb1a8a2c155162bbbd7ff0dbcf3.tar.bz2
[Bug 3534137]: $tcl_platform(platform) != [tk windowingsystem]
FossilOrigin-Name: b26cfe788b6b09ebba7c4e08f214a52894fdbb39
Diffstat (limited to 'library/spinbox.tcl')
-rw-r--r--library/spinbox.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/spinbox.tcl b/library/spinbox.tcl
index 84a00a7..20b477a 100644
--- a/library/spinbox.tcl
+++ b/library/spinbox.tcl
@@ -223,7 +223,7 @@ if {[tk windowingsystem] eq "aqua"} {
# On Windows, paste is done using Shift-Insert. Shift-Insert already
# generates the <<Paste>> event, so we don't need to do anything here.
-if {$tcl_platform(platform) ne "windows"} {
+if {[tk windowingsystem] ne "win32"} {
bind Spinbox <Insert> {
catch {::tk::EntryInsert %W [::tk::GetSelection %W PRIMARY]}
}