diff options
Diffstat (limited to 'library/tearoff.tcl')
-rw-r--r-- | library/tearoff.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tearoff.tcl b/library/tearoff.tcl index c9e3231..7844057 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.5 1999/09/02 17:02:53 hobbs Exp $ +# RCS: @(#) $Id: tearoff.tcl,v 1.6 2000/01/06 02:22:24 hobbs Exp $ # # Copyright (c) 1994 The Regents of the University of California. # Copyright (c) 1994-1997 Sun Microsystems, Inc. @@ -93,7 +93,7 @@ proc tkTearOffMenu {w {x 0} {y 0}} { set cmd [$w cget -tearoffcommand] if {[string compare $cmd ""]} { - uplevel #0 $cmd $w $menu + uplevel #0 $cmd [list $w $menu] } return $menu } |