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:
Matthias Melcher
2007-11-19 15:46:24 +00:00
parent 2217ab964b
commit 7ec5f44a7f
+1
View File
@@ -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); }