mirror of
https://github.com/reactos/reactos.git
synced 2024-08-16 08:29:38 +00:00
[User32]
- Uses KF_Xxx flags instead of made up ones. Someone let wine know there are standard flags to use. svn path=/trunk/; revision=51832
This commit is contained in:
parent
e3f4d66500
commit
3d6ff1e532
|
@ -37,10 +37,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 @@ LRESULT WINAPI ComboWndProc_common( HWND hwnd, UINT message,
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue