From 592e5d08bbcc63aa24c100875c7a80e0fb87ba5d Mon Sep 17 00:00:00 2001 From: tmh Date: Mon, 25 Aug 2008 23:05:40 +0000 Subject: correct to use global namespace varialbe : 1023955 --- library/menu.tcl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/menu.tcl b/library/menu.tcl index 08caeb7..f0f81d8 100644 --- a/library/menu.tcl +++ b/library/menu.tcl @@ -4,7 +4,7 @@ # It also implements keyboard traversal of menus and implements a few # other utility procedures related to menus. # -# RCS: @(#) $Id: menu.tcl,v 1.27 2008/08/25 23:01:15 tmh Exp $ +# RCS: @(#) $Id: menu.tcl,v 1.28 2008/08/25 23:05:40 tmh Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1997 Sun Microsystems, Inc. @@ -261,7 +261,7 @@ proc ::tk::MbPost {w {x {}} {y {}}} { if {$cur ne ""} { MenuUnpost {} } - if {$tk_stricktMotif} { + if {$::tk_stricktMotif} { set Priv(cursor) [$w cget -cursor] $w configure -cursor arrow } @@ -411,7 +411,7 @@ proc ::tk::MenuUnpost menu { set menu [$mb cget -menu] $menu unpost set Priv(postedMb) {} - if {$tk_strictMotif} { + if {$::tk_strictMotif} { $mb configure -cursor $Priv(cursor) } if {[tk windowingsystem] ne "aqua"} { @@ -461,7 +461,7 @@ proc ::tk::MenuUnpost menu { } RestoreOldGrab if {$Priv(menuBar) ne ""} { - if {$tk_strictMotif} { + if {$::tk_strictMotif} { $Priv(menuBar) configure -cursor $Priv(cursor) } set Priv(menuBar) {} @@ -596,7 +596,7 @@ proc ::tk::MenuButtonDown menu { if {$Priv(menuBar) eq {}} { set Priv(menuBar) $menu - if {$tk_strictMotif} { + if {$::tk_strictMotif} { set Priv(cursor) [$menu cget -cursor] $menu configure -cursor arrow } -- cgit v0.12