mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 04:35:07 +00:00
[NtUser]
- Patch by Fabian Maurer : Don't send WM_CHAR when a menu gets VK_ESCAPE and add tests. svn path=/trunk/; revision=75381
This commit is contained in:
parent
f6da80a67e
commit
f11f599e16
|
@ -3936,7 +3936,6 @@ static INT FASTCALL MENU_TrackMenu(PMENU pmenu, UINT wFlags, INT x, INT y,
|
|||
break;
|
||||
}
|
||||
|
||||
IntTranslateKbdMessage(&msg, 0);
|
||||
mt.Pt = msg.pt;
|
||||
|
||||
if ( (msg.hwnd == mt.CurrentMenu->hWnd) || ((msg.message!=WM_TIMER) && (msg.message!=WM_SYSTIMER)) )
|
||||
|
@ -4066,6 +4065,7 @@ static INT FASTCALL MENU_TrackMenu(PMENU pmenu, UINT wFlags, INT x, INT y,
|
|||
}
|
||||
|
||||
default:
|
||||
IntTranslateKbdMessage(&msg, 0);
|
||||
break;
|
||||
}
|
||||
break; /* WM_KEYDOWN */
|
||||
|
|
Loading…
Reference in a new issue