Make it possible to close the "About Wine" dialog by pressing Escape.
This commit is contained in:
parent
d31d27f716
commit
b079de35ce
|
@ -844,8 +844,9 @@ INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
if (wParam == IDOK)
|
if (wParam == IDOK || wParam == IDCANCEL)
|
||||||
{ EndDialog(hWnd, TRUE);
|
{
|
||||||
|
EndDialog(hWnd, TRUE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue