From 95c87eb9425b065358dfa98f1ba0956d7b910766 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 17 Apr 2007 23:09:02 +0000 Subject: [PATCH] pull up r19473 from trunk r19473@cathode-dark-space: jaltman | 2007-04-15 10:51:30 -0400 ticket: 5530 The about dialog box did not respond to Alt-F4 because the WM_CLOSE message was not being processed. ticket: 5530 version_fixed: 1.6.1 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19484 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