diff options
author | chengyemao <chengyemao> | 2005-01-13 01:48:03 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2005-01-13 01:48:03 (GMT) |
commit | ebff7b1e30816294ee71671ab00e75f01366ef55 (patch) | |
tree | 3ceb729aab2805d7cc5d11c28d1948872a10b294 /win/tkWinMenu.c | |
parent | 8f1bd02c7e5f595b8e77e3e31d2a47fe2cbce2f9 (diff) | |
download | tk-ebff7b1e30816294ee71671ab00e75f01366ef55.zip tk-ebff7b1e30816294ee71671ab00e75f01366ef55.tar.gz tk-ebff7b1e30816294ee71671ab00e75f01366ef55.tar.bz2 |
Removed WM_UNINITMENUPOPUP that may cause compiling error in WINVER < 0x0500
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r-- | win/tkWinMenu.c | 9 |
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: |