diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-11-14 21:05:22 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-11-14 21:05:22 +0000 |
| commit | 7a89877eee6709c1ec042351e63ad964415141f0 (patch) | |
| tree | 9e35e7482df08dec4e1f9e7dd2d95a84b6493bc8 /FL/Fl_Check_Browser.H | |
| parent | 0bd7960c79b4eaafd0f7b92515f75bb1a99350c0 (diff) | |
Add const char * add methods to Fl_Check_Browser.
Fix cursor code in text widgets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Check_Browser.H')
| -rw-r--r-- | FL/Fl_Check_Browser.H | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/FL/Fl_Check_Browser.H b/FL/Fl_Check_Browser.H index e137b89ca..b0e3f0531 100644 --- a/FL/Fl_Check_Browser.H +++ b/FL/Fl_Check_Browser.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Check_Browser.H,v 1.1.2.4 2002/08/14 16:49:37 easysw Exp $" +// "$Id: Fl_Check_Browser.H,v 1.1.2.5 2002/11/14 21:05:20 easysw Exp $" // // Fl_Check_Browser header file for the Fast Light Tool Kit (FLTK). // @@ -71,6 +71,11 @@ 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() + + // inline const char * methods to avoid breaking binary compatibility... + int add(const char *s) { return add((char *)s); } + int add(const char *s, int b) { return add((char *)s, b); } + void clear(); // delete all items int nitems() const { return nitems_; } int nchecked() const { return nchecked_; } @@ -86,6 +91,6 @@ class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ { #endif // Fl_Check_Browser_H // -// End of "$Id: Fl_Check_Browser.H,v 1.1.2.4 2002/08/14 16:49:37 easysw Exp $". +// End of "$Id: Fl_Check_Browser.H,v 1.1.2.5 2002/11/14 21:05:20 easysw Exp $". // |
