summaryrefslogtreecommitdiffstats
path: root/mac/tkMacWindowMgr.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-07 03:51:05 (GMT)
committerhobbs <hobbs>1999-12-07 03:51:05 (GMT)
commitd7cea06a2ed88307396bf8f44440feaa058766b7 (patch)
treedf5f481cb3bc72c3f579751ad0137280f303521e /mac/tkMacWindowMgr.c
parent16afd8f8c6c256b09d0495d5780ab5b29b07ef0f (diff)
downloadtk-d7cea06a2ed88307396bf8f44440feaa058766b7.zip
tk-d7cea06a2ed88307396bf8f44440feaa058766b7.tar.gz
tk-d7cea06a2ed88307396bf8f44440feaa058766b7.tar.bz2
added TkMacPreprocessMenu
Diffstat (limited to 'mac/tkMacWindowMgr.c')
-rw-r--r--mac/tkMacWindowMgr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mac/tkMacWindowMgr.c b/mac/tkMacWindowMgr.c
index 81bda7a..0644847 100644
--- a/mac/tkMacWindowMgr.c
+++ b/mac/tkMacWindowMgr.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacWindowMgr.c,v 1.5 1999/12/07 03:04:52 hobbs Exp $
+ * RCS: @(#) $Id: tkMacWindowMgr.c,v 1.6 1999/12/07 03:51:11 hobbs Exp $
*/
#include <Events.h>
@@ -207,13 +207,14 @@ WindowManagerMouse(
{
int oldMode;
KeyMap theKeys;
- void TkpPreprocessMacMenu(void);
GetKeys(theKeys);
oldMode = Tcl_SetServiceMode(TCL_SERVICE_ALL);
TkMacClearMenubarActive();
- /* POSTCOMMAND??? */
- TkpPreprocessMacMenu();
+ /*
+ * Handle -postcommand
+ */
+ TkMacPreprocessMenu();
TkMacHandleMenuSelect(MenuSelect(eventPtr->where),
theKeys[1] & 4);
Tcl_SetServiceMode(oldMode);