Author: jimtabor
Date: Sat May 21 00:22:25 2011
New Revision: 51832
URL:
http://svn.reactos.org/svn/reactos?rev=51832&view=rev
Log:
[User32]
- Uses KF_Xxx flags instead of made up ones. Someone let wine know there are standard
flags to use.
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] Sat May 21 00:22:25 2011
@@ -36,10 +36,6 @@
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(combo);
-
- /* bits in the dwKeyData */
-#define KEYDATA_ALT 0x2000
-#define KEYDATA_PREVSTATE 0x4000
/*
* Additional combo box definitions
@@ -2011,7 +2007,7 @@
SendMessageW(lphc->hWndLBox, message, wParam, lParam);
return 0;
case WM_SYSKEYDOWN:
- if( KEYDATA_ALT & HIWORD(lParam) )
+ if( KF_ALTDOWN & HIWORD(lParam) ) // ReactOS (wine) KEYDATA_ALT
if( wParam == VK_UP || wParam == VK_DOWN )
COMBO_FlipListbox( lphc, FALSE, FALSE );
return 0;