mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user