diff options
author | chengyemao <chengyemao@noemail.net> | 2005-01-13 01:48:02 (GMT) |
---|---|---|
committer | chengyemao <chengyemao@noemail.net> | 2005-01-13 01:48:02 (GMT) |
commit | cc44dd2291f2541c7f81ca6c350032fcd7b39285 (patch) | |
tree | 3ceb729aab2805d7cc5d11c28d1948872a10b294 /win/tkWinMenu.c | |
parent | de27acf7245fce344c4b1d510e7719bd27daa267 (diff) | |
download | tk-cc44dd2291f2541c7f81ca6c350032fcd7b39285.zip tk-cc44dd2291f2541c7f81ca6c350032fcd7b39285.tar.gz tk-cc44dd2291f2541c7f81ca6c350032fcd7b39285.tar.bz2 |
Removed WM_UNINITMENUPOPUP that may cause compiling error in WINVER < 0x0500
FossilOrigin-Name: 131f86347f194a86352ecf9e19d899394268dd0b
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: |