From 6a8de28f968b5e22f84348a27f566f953c02db7d Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 15 Apr 2007 14:51:30 +0000 Subject: [PATCH] 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 --- src/windows/identity/ui/aboutwnd.c | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- 2.26.2