mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Rename dlg_listbox_addwithindex() to dlg_listbox_addwithid(), since the old
name was, not to put too fine a point on it, wrong. [originally from svn r2997]
This commit is contained in:
4
dialog.h
4
dialog.h
@ -580,8 +580,8 @@ void dlg_listbox_add(union control *ctrl, void *dlg, char const *text);
|
||||
* strings in any listbox then you MUST not assign them different
|
||||
* IDs and expect to get meaningful results back.
|
||||
*/
|
||||
void dlg_listbox_addwithindex(union control *ctrl, void *dlg,
|
||||
char const *text, int id);
|
||||
void dlg_listbox_addwithid(union control *ctrl, void *dlg,
|
||||
char const *text, int id);
|
||||
int dlg_listbox_getid(union control *ctrl, void *dlg, int index);
|
||||
/* dlg_listbox_index returns <0 if no single element is selected. */
|
||||
int dlg_listbox_index(union control *ctrl, void *dlg);
|
||||
|
Reference in New Issue
Block a user