summaryrefslogtreecommitdiffstats
path: root/library/spinbox.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 07:23:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 07:23:24 (GMT)
commit2e1a2e301249b913cac77a3a9631f3005115e246 (patch)
treea7d8607222c83d320eae6db152a05517eb4883af /library/spinbox.tcl
parentb098fed752fbc72a9b83c0d4869e140a12913857 (diff)
downloadtk-2e1a2e301249b913cac77a3a9631f3005115e246.zip
tk-2e1a2e301249b913cac77a3a9631f3005115e246.tar.gz
tk-2e1a2e301249b913cac77a3a9631f3005115e246.tar.bz2
Handle "Commmand-" bindings platform-dependant too
Diffstat (limited to 'library/spinbox.tcl')
-rw-r--r--library/spinbox.tcl4
1 files changed, 1 insertions, 3 deletions
diff --git a/library/spinbox.tcl b/library/spinbox.tcl
index 3d479ef..ad4aacc 100644
--- a/library/spinbox.tcl
+++ b/library/spinbox.tcl
@@ -218,9 +218,7 @@ bind Spinbox <KP_Enter> {# nothing}
bind Spinbox <Tab> {# nothing}
bind Spinbox <Prior> {# nothing}
bind Spinbox <Next> {# nothing}
-if {[tk windowingsystem] eq "aqua"} {
- bind Spinbox <Command-Key> {# nothing}
-}
+bind Spinbox <Command-Key> {# nothing}
# On Windows, paste is done using Shift-Insert. Shift-Insert already
# generates the <<Paste>> event, so we don't need to do anything here.