summaryrefslogtreecommitdiffstats
path: root/library/tearoff.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/tearoff.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/tearoff.tcl')
-rw-r--r--library/tearoff.tcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/library/tearoff.tcl b/library/tearoff.tcl
index 3ee6ca3..f8b6856 100644
--- a/library/tearoff.tcl
+++ b/library/tearoff.tcl
@@ -2,7 +2,7 @@
#
# This file contains procedures that implement tear-off menus.
#
-# RCS: @(#) $Id: tearoff.tcl,v 1.8 2003/05/27 23:44:36 vincentdarley Exp $
+# RCS: @(#) $Id: tearoff.tcl,v 1.9 2004/03/17 18:15:45 das Exp $
#
# Copyright (c) 1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -37,8 +37,7 @@ proc ::tk::TearOffMenu {w {x 0} {y 0}} {
}
if {$y == 0} {
set y [winfo rooty $w]
- if {[tk windowingsystem] eq "macintosh" \
- || [tk windowingsystem] eq "aqua"} {
+ if {[tk windowingsystem] eq "aqua"} {
# Avoid the native menu bar which sits on top of everything.
if {$y < 20} { set y 20 }
}