aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2007-04-17 23:09:02 +0000
committerTom Yu <tlyu@mit.edu>2007-04-17 23:09:02 +0000
commit95c87eb9425b065358dfa98f1ba0956d7b910766 (patch)
tree2c83139f1894175cc2c1d2d9229af6ee11716bba /src
parentb37e997fb3695b9561e3a0b2c8fbcb0a21ad4c26 (diff)
downloadkrb5-95c87eb9425b065358dfa98f1ba0956d7b910766.zip
krb5-95c87eb9425b065358dfa98f1ba0956d7b910766.tar.gz
krb5-95c87eb9425b065358dfa98f1ba0956d7b910766.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/windows/identity/ui/aboutwnd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/windows/identity/ui/aboutwnd.c b/src/windows/identity/ui/aboutwnd.c
index f4dcfcc..68aef02 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();