summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r--win/tkWinMenu.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index d7f5d48..9f922ca 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -9,7 +9,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.40 2005/01/09 06:59:20 chengyemao Exp $
+ * RCS: @(#) $Id: tkWinMenu.c,v 1.41 2005/01/13 01:48:03 chengyemao Exp $
*/
#define OEMRESOURCE
@@ -932,7 +932,7 @@ TkWinEmbeddedMenuProc(hwnd, message, wParam, lParam)
WPARAM wParam;
LPARAM lParam;
{
- static nPopupMenus = 0, nIdles = 0;
+ static nIdles = 0;
LRESULT lResult = 1;
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
@@ -947,13 +947,8 @@ TkWinEmbeddedMenuProc(hwnd, message, wParam, lParam)
case WM_INITMENUPOPUP:
nIdles = 0;
- nPopupMenus++;
break;
- case WM_UNINITMENUPOPUP:
- nPopupMenus--;
- break;
-
case WM_INITMENU:
case WM_SYSCOMMAND:
case WM_COMMAND: