mirror of
https://github.com/reactos/wine.git
synced 2025-02-19 12:21:46 +00:00
Correct the NotifyCode in the WM_COMMAND message sent by
KBD_translate_accelerator().
This commit is contained in:
parent
8cd83a9614
commit
c18f62940d
@ -711,11 +711,11 @@ static BOOL KBD_translate_accelerator(HWND hWnd,LPMSG msg,
|
||||
mesg=WM_COMMAND;
|
||||
}
|
||||
}
|
||||
if ( mesg==WM_COMMAND || mesg==WM_SYSCOMMAND )
|
||||
{
|
||||
TRACE_(accel)(", sending %s, wParam=%0x\n",
|
||||
mesg==WM_COMMAND ? "WM_COMMAND" : "WM_SYSCOMMAND",
|
||||
cmd);
|
||||
if( mesg==WM_COMMAND ) {
|
||||
TRACE_(accel)(", sending WM_COMMAND, wParam=%0x\n", 0x10000 | cmd);
|
||||
SendMessageA(hWnd, mesg, 0x10000 | cmd, 0L);
|
||||
} else if( mesg==WM_SYSCOMMAND ) {
|
||||
TRACE_(accel)(", sending WM_SYSCOMMAND, wParam=%0x\n", cmd);
|
||||
SendMessageA(hWnd, mesg, cmd, 0x00010000L);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user