Closing "About Wine" dialog by Escape
Pavel Roskin
proski at gnu.org
Tue Sep 30 10:10:03 CDT 2003
ChangeLog:
* dlls/shell32/shell32_main.c:
Make it possible to close the "About Wine" dialog by pressing
Escape.
--
Regards,
Pavel Roskin
-------------- next part --------------
--- dlls/shell32/shell32_main.c
+++ dlls/shell32/shell32_main.c
@@ -844,8 +844,9 @@ INT_PTR CALLBACK AboutDlgProc( HWND hWnd
break;
case WM_COMMAND:
- if (wParam == IDOK)
- { EndDialog(hWnd, TRUE);
+ if (wParam == IDOK || wParam == IDCANCEL)
+ {
+ EndDialog(hWnd, TRUE);
return TRUE;
}
break;
More information about the wine-patches
mailing list