summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das@noemail.net>2007-06-02 06:44:44 (GMT)
committerdas <das@noemail.net>2007-06-02 06:44:44 (GMT)
commitbf2b2114775974ceb6068688084b4736f05b63d9 (patch)
tree23f9f5624cb43c6339c86857ba4c710de66d4675 /macosx
parent89055f6a7dc227ad8a6cfd8ef02ba93c9f946eb4 (diff)
downloadtk-bf2b2114775974ceb6068688084b4736f05b63d9.zip
tk-bf2b2114775974ceb6068688084b4736f05b63d9.tar.gz
tk-bf2b2114775974ceb6068688084b4736f05b63d9.tar.bz2
* macosx/tkMacOSXMenu.c (TkpPostMenu): ensure cascade menus display in
posted menus that are not part of the menubar or attached to a menubutton (fixes bug reported on tcl-mac by Linux Nyberg). FossilOrigin-Name: 9a6b0afa19424de81bd65dc4f20e27690606195f
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXMenu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c
index da7ce64..05fa7b4 100644
--- a/macosx/tkMacOSXMenu.c
+++ b/macosx/tkMacOSXMenu.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.38 2007/05/30 06:35:55 das Exp $
+ * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.39 2007/06/02 06:44:44 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -1556,6 +1556,7 @@ TkpPostMenu(
Tcl_CancelIdleCall(DrawMenuBarWhenIdle, NULL);
DrawMenuBarWhenIdle(NULL);
}
+ RecursivelyInsertMenu(menuPtr);
TkMacOSXTrackingLoop(1);
popUpResult = PopUpMenuSelect(macMenuHdl, y, x, menuPtr->active);