Skip to content
Snippets Groups Projects
Commit b7bb42d9 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

Restore erroneously deleted lines.

parent f35356db
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment