mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 08:06:35 +08:00
STR #1767: Adding "remove" function for the Fl_Check_Browser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -73,6 +73,7 @@ class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ {
|
||||
int add(char *s); // add an (unchecked) item
|
||||
int add(char *s, int b); // add an item and set checked
|
||||
// both return the new nitems()
|
||||
int remove(int item); // delete an item. Returns nitems()
|
||||
|
||||
// inline const char * methods to avoid breaking binary compatibility...
|
||||
int add(const char *s) { return add((char *)s); }
|
||||
|
||||
Reference in New Issue
Block a user