Commit b7bb42d9 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Restore erroneously deleted lines.

parent f35356db
...@@ -1157,6 +1157,13 @@ static BOOL DIALOG_IsAccelerator( HWND hwnd, HWND hwndDlg, WPARAM vKey ) ...@@ -1157,6 +1157,13 @@ static BOOL DIALOG_IsAccelerator( HWND hwnd, HWND hwndDlg, WPARAM vKey )
/* and bump it on to next */ /* and bump it on to next */
SendMessageA( hwndDlg, WM_NEXTDLGCTL, 0, 0); SendMessageA( hwndDlg, WM_NEXTDLGCTL, 0, 0);
} }
else if (dlgCode & DLGC_BUTTON)
{
/* send command message as from the control */
SendMessageA( hwndDlg, WM_COMMAND,
MAKEWPARAM( LOWORD(wndPtr->wIDmenu), BN_CLICKED ),
(LPARAM)hwndControl );
}
RetVal = TRUE; RetVal = TRUE;
WIN_ReleaseWndPtr(wndPtr); WIN_ReleaseWndPtr(wndPtr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment