Restore erroneously deleted lines.

This commit is contained in:
Dmitry Timoshkov 1999-12-25 22:52:44 +00:00 committed by Alexandre Julliard
parent f35356db11
commit b7bb42d9d4
1 changed files with 7 additions and 0 deletions

View File

@ -1157,6 +1157,13 @@ static BOOL DIALOG_IsAccelerator( HWND hwnd, HWND hwndDlg, WPARAM vKey )
/* and bump it on to next */
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;
WIN_ReleaseWndPtr(wndPtr);