Author: jimtabor
Date: Thu Dec 31 03:41:57 2009
New Revision: 44819
URL:
http://svn.reactos.org/svn/reactos?rev=44819&view=rev
Log:
[User32]
- Patch modified by Dmitry Timoshkov : Handle virtual key codes only in the WM_KEYDOWN
case. See bug 5063. Reported by David Quintana.
Modified:
trunk/reactos/dll/win32/user32/controls/combo.c
Modified: trunk/reactos/dll/win32/user32/controls/combo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/combo.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/controls/combo.c [iso-8859-1] Thu Dec 31 03:41:57 2009
@@ -1998,12 +1998,7 @@
COMBO_FlipListbox( lphc, FALSE, FALSE );
return 0;
- case WM_CHAR:
- case WM_IME_CHAR:
case WM_KEYDOWN:
- {
- HWND hwndTarget;
-
if ((wParam == VK_RETURN || wParam == VK_ESCAPE) &&
(lphc->wState & CBF_DROPPED))
{
@@ -2015,6 +2010,11 @@
COMBO_FlipListbox( lphc, FALSE, FALSE );
return TRUE;
}
+ /* fall through */
+ case WM_CHAR:
+ case WM_IME_CHAR:
+ {
+ HWND hwndTarget;
if( lphc->wState & CBF_EDIT )
hwndTarget = lphc->hWndEdit;