From: Tom Yu Date: Tue, 17 Apr 2007 23:09:02 +0000 (+0000) Subject: pull up r19473 from trunk X-Git-Tag: krb5-1.6.1-final~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95c87eb9425b065358dfa98f1ba0956d7b910766;p=krb5.git 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 --- 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();