1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 20:42:48 -05:00

Big sprawling dialog-box commit covering all sorts of things.

Buttons now have an `iscancel' flag to go with `isdefault';
dlg_last_focused() now explicitly passes the control it _doesn't_
care about (`I want the last control that had focus and isn't this
one'); and in the GTK implementation, various fixes have happened,
notably including arrow keys working sensibly in list boxes and the
treeview and short font aliases being expanded correctly to
initialise the font selectors.

[originally from svn r2958]
This commit is contained in:
Simon Tatham
2003-03-18 19:06:51 +00:00
parent e2874c40c8
commit 4d41247cde
6 changed files with 459 additions and 72 deletions

View File

@ -1,4 +1,4 @@
/* $Id: macctrls.c,v 1.2 2003/03/18 00:35:40 ben Exp $ */
/* $Id: macctrls.c,v 1.3 2003/03/18 19:06:51 simon Exp $ */
/*
* Copyright (c) 2003 Ben Harris
* All rights reserved.
@ -529,7 +529,7 @@ void dlg_set_focus(union control *ctrl, void *dlg)
}
}
union control *dlg_last_focused(void *dlg)
union control *dlg_last_focused(union control *ctrl, void *dlg)
{
return NULL;