summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authortmh <tmh>2008-09-09 17:48:56 (GMT)
committertmh <tmh>2008-09-09 17:48:56 (GMT)
commit2fab835d59565363d0a229a3c809353136b0cb72 (patch)
tree6b7972c294af69812f6942ea1b56b5c509a754e1 /library
parent986b3198d0bf5aeed2bb039224d58759ad22521c (diff)
downloadtk-2fab835d59565363d0a229a3c809353136b0cb72.zip
tk-2fab835d59565363d0a229a3c809353136b0cb72.tar.gz
tk-2fab835d59565363d0a229a3c809353136b0cb72.tar.bz2
add global tk_strickMotif
Diffstat (limited to 'library')
-rw-r--r--library/menu.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/menu.tcl b/library/menu.tcl
index 381da68..c752498 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.29 2008/08/27 18:49:46 tmh Exp $
+# RCS: @(#) $Id: menu.tcl,v 1.30 2008/09/09 17:48:58 tmh Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -243,7 +243,7 @@ proc ::tk::MbLeave w {
proc ::tk::MbPost {w {x {}} {y {}}} {
global errorInfo
variable ::tk::Priv
- global tcl_platform
+ global tcl_platform tk_strictMotif
if {[$w cget -state] eq "disabled" || $w eq $Priv(postedMb)} {
return
@@ -392,7 +392,7 @@ proc ::tk::MbPost {w {x {}} {y {}}} {
# is a posted menubutton.
proc ::tk::MenuUnpost menu {
- global tcl_platform
+ global tcl_platform tk_strictMotif
variable ::tk::Priv
set mb $Priv(postedMb)
@@ -579,7 +579,7 @@ proc ::tk::MenuMotion {menu x y state} {
proc ::tk::MenuButtonDown menu {
variable ::tk::Priv
- global tcl_platform
+ global tcl_platform tk_strictMotif
if {![winfo viewable $menu]} {
return