Author: jimtabor
Date: Thu Jul 20 19:57:25 2017
New Revision: 75381
URL:
http://svn.reactos.org/svn/reactos?rev=75381&view=rev
Log:
[NtUser]
- Patch by Fabian Maurer : Don't send WM_CHAR when a menu gets VK_ESCAPE and add
tests.
Modified:
trunk/reactos/win32ss/user/ntuser/menu.c
Modified: trunk/reactos/win32ss/user/ntuser/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/menu.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] Thu Jul 20 19:57:25 2017
@@ -3936,7 +3936,6 @@
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 @@
}
default:
+ IntTranslateKbdMessage(&msg, 0);
break;
}
break; /* WM_KEYDOWN */