summaryrefslogtreecommitdiffstats
path: root/library/button.tcl
diff options
context:
space:
mode:
authordas <das>2004-03-17 18:15:28 (GMT)
committerdas <das>2004-03-17 18:15:28 (GMT)
commit4cef3cd95fe271a0c4ff5081c625fa29e649efa9 (patch)
treea4d842ff3e2a8fc34e8fd25e2322f00537fdfae9 /library/button.tcl
parentb9ad7407b786c017d8102f41044f03b5af98ff00 (diff)
downloadtk-4cef3cd95fe271a0c4ff5081c625fa29e649efa9.zip
tk-4cef3cd95fe271a0c4ff5081c625fa29e649efa9.tar.gz
tk-4cef3cd95fe271a0c4ff5081c625fa29e649efa9.tar.bz2
Removed support for Mac OS Classic platform [Patch 918139]
Diffstat (limited to 'library/button.tcl')
-rw-r--r--library/button.tcl8
1 files changed, 3 insertions, 5 deletions
diff --git a/library/button.tcl b/library/button.tcl
index f6cea6a..0810375 100644
--- a/library/button.tcl
+++ b/library/button.tcl
@@ -4,7 +4,7 @@
# checkbutton, and radiobutton widgets and provides procedures
# that help in implementing those bindings.
#
-# RCS: @(#) $Id: button.tcl,v 1.17 2002/09/04 02:05:52 hobbs Exp $
+# RCS: @(#) $Id: button.tcl,v 1.18 2004/03/17 18:15:44 das Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -18,8 +18,7 @@
# The code below creates the default class bindings for buttons.
#-------------------------------------------------------------------------
-if {[string equal [tk windowingsystem] "classic"]
- || [string equal [tk windowingsystem] "aqua"]} {
+if {[string equal [tk windowingsystem] "aqua"]} {
bind Radiobutton <Enter> {
tk::ButtonEnter %W
}
@@ -445,8 +444,7 @@ proc ::tk::ButtonUp w {
}
-if {[string equal [tk windowingsystem] "classic"]
- || [string equal [tk windowingsystem] "aqua"]} {
+if {[string equal [tk windowingsystem] "aqua"]} {
####################
# Mac implementation