commit | 2b80e65818cb3122862de0ffdc72623dab435b83 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Aug 14 14:57:55 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Aug 14 14:57:55 2007 +0000 |
tree | 14ee54354036ebce541a878935105996213d2c3a | |
parent | d2c765e688426a98583d73f1e8b971cd5e37940b [diff] [blame] |
updated for version 7.1-070
diff --git a/src/gui_w32.c b/src/gui_w32.c index d6aa1a5..092d8d5 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c
@@ -2894,6 +2894,10 @@ (void)SetFocus(hwnd); if (dialog_default_button > IDCANCEL) (void)SetFocus(GetDlgItem(hwnd, dialog_default_button)); + else + /* We don't have a default, set focus on another element of the + * dialog window, probably the icon */ + (void)SetFocus(GetDlgItem(hwnd, DLG_NONBUTTON_CONTROL)); return FALSE; }