diff options
author | tmh <tmh> | 2008-08-25 23:05:40 (GMT) |
---|---|---|
committer | tmh <tmh> | 2008-08-25 23:05:40 (GMT) |
commit | 592e5d08bbcc63aa24c100875c7a80e0fb87ba5d (patch) | |
tree | fd89e0d68047d53c2a8c8aef9c67dc233cfe0939 | |
parent | ae5fa1cfb9eaa88724d6a8d6731b1c7807b2f4a6 (diff) | |
download | tk-592e5d08bbcc63aa24c100875c7a80e0fb87ba5d.zip tk-592e5d08bbcc63aa24c100875c7a80e0fb87ba5d.tar.gz tk-592e5d08bbcc63aa24c100875c7a80e0fb87ba5d.tar.bz2 |
correct to use global namespace varialbe : 1023955
-rw-r--r-- | library/menu.tcl | 10 |
1 files 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 } |