commit | 9090502fda399630a3dd3d815344966648fbd638 | [log] [tgz] |
---|---|---|
author | Juergen Schmied <juergen.schmied@pop3.pop.debitel.net> | Mon May 17 15:05:08 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon May 17 15:05:08 1999 +0000 |
tree | 67cc55c92777b0afdf69ff5927019e076eeab385 | |
parent | dd5b80e8ab97feeb2acfe0753a8a757c9abe9e8c [diff] [blame] |
Set the default menu item of the window menu
diff --git a/windows/mdi.c b/windows/mdi.c index 000b368..a4fecba 100644 --- a/windows/mdi.c +++ b/windows/mdi.c
@@ -849,6 +849,7 @@ EnableMenuItem(hSysPopup, SC_SIZE, MF_BYCOMMAND | MF_GRAYED); EnableMenuItem(hSysPopup, SC_MOVE, MF_BYCOMMAND | MF_GRAYED); EnableMenuItem(hSysPopup, SC_MAXIMIZE, MF_BYCOMMAND | MF_GRAYED); + SetMenuDefaultItem(hSysPopup, SC_CLOSE, FALSE); /* redraw menu */ DrawMenuBar(frame->hwndSelf);