From: Jeffrey Altman Date: Sun, 15 Apr 2007 14:51:30 +0000 (+0000) Subject: The about dialog box did not respond to Alt-F4 because the X-Git-Tag: krb5-1.7-alpha1~1139 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a8de28f968b5e22f84348a27f566f953c02db7d;p=krb5.git The about dialog box did not respond to Alt-F4 because the WM_CLOSE message was not being processed. ticket: 5530 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19473 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/identity/ui/aboutwnd.c b/src/windows/identity/ui/aboutwnd.c index f4dcfcc5e..68aef0277 100644 --- a/src/windows/identity/ui/aboutwnd.c +++ b/src/windows/identity/ui/aboutwnd.c @@ -124,6 +124,11 @@ about_dlg_proc(HWND hwnd, khm_del_dialog(hwnd); return TRUE; + case WM_CLOSE: + khm_leave_modal(); + DestroyWindow(hwnd); + return TRUE; + case WM_COMMAND: if (wParam == MAKEWPARAM(IDOK, BN_CLICKED)) { khm_leave_modal();