2 Subject: patch 7.1.070 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32 GUI: When using confirm() without a default button there
12 still is a default choice.
13 Solution: Set focus on something else than a button. (Chris Lubinski)
17 *** ../vim-7.1.069/src/gui_w32.c Tue Jun 19 10:09:15 2007
18 --- src/gui_w32.c Sat Aug 11 17:39:50 2007
23 if (dialog_default_button > IDCANCEL)
24 (void)SetFocus(GetDlgItem(hwnd, dialog_default_button));
26 + /* We don't have a default, set focus on another element of the
27 + * dialog window, probably the icon */
28 + (void)SetFocus(GetDlgItem(hwnd, DLG_NONBUTTON_CONTROL));
32 *** ../vim-7.1.069/src/version.c Tue Aug 14 14:59:41 2007
33 --- src/version.c Tue Aug 14 16:55:41 2007
37 { /* Add new patch number below this line */
43 You are not really successful until someone claims he sat
46 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
47 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
48 \\\ download, build and distribute -- http://www.A-A-P.org ///
49 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///