- 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:
James Tabor 2017-07-20 19:57:25 +00:00
parent f6da80a67e
commit f11f599e16

View file

@ -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 */