summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/tkWinMenu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index 2f7210c..734591d 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.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: tkWinMenu.c,v 1.3 1998/09/14 18:24:00 stanton Exp $
+ * RCS: @(#) $Id: tkWinMenu.c,v 1.4 1999/02/04 21:44:18 stanton Exp $
*/
#define OEMRESOURCE
@@ -364,6 +364,10 @@ TkpDestroyMenu(menuPtr)
DestroyMenu(winMenuHdl);
}
menuPtr->platformData = NULL;
+
+ if (menuPtr == modalMenuPtr) {
+ modalMenuPtr = NULL;
+ }
}
/*