summaryrefslogtreecommitdiffstats
path: root/library/text.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-15 19:31:20 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-15 19:31:20 (GMT)
commit0b6e717a44dff02a2ce046473bbe798a8e07d6c9 (patch)
tree926c9c2655af85d9275fb6665b9ec2fa628f2093 /library/text.tcl
parentab074760921c8bd030d145b68aadf3992117d920 (diff)
downloadtk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.zip
tk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.tar.gz
tk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.tar.bz2
More complete purge of things only present for supporting long-dead Mac 9 systems.
Diffstat (limited to 'library/text.tcl')
-rw-r--r--library/text.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/text.tcl b/library/text.tcl
index 3b32991..10b4424 100644
--- a/library/text.tcl
+++ b/library/text.tcl
@@ -275,7 +275,7 @@ bind Text <Control-KeyPress> {# nothing}
bind Text <Escape> {# nothing}
bind Text <KP_Enter> {# nothing}
-if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
+if {[tk windowingsystem] eq "aqua"} {
bind Text <Command-KeyPress> {# nothing}
}
@@ -391,7 +391,7 @@ bind Text <Meta-Delete> {
# Macintosh only bindings:
-if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
+if {[tk windowingsystem] eq "aqua"} {
bind Text <FocusIn> {
%W configure -selectbackground systemHighlight -selectforeground systemHighlightText
}
@@ -452,7 +452,7 @@ set ::tk::Priv(prevPos) {}
# However, someone could use the "event generate" command to produce
# one on other platforms.
-if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
+if {[tk windowingsystem] eq "aqua"} {
bind Text <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}