diff options
| author | Matthias Melcher <git@matthiasm.com> | 2019-02-02 16:24:10 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2019-02-02 16:24:10 +0100 |
| commit | e06c09fa2595d5e4450f5898bed69ef312536386 (patch) | |
| tree | 7b4ff10473e02c7a0a4bcf52a2c315e0bec07e01 /FL/Fl_Check_Browser.H | |
| parent | 2ce406ab428bcaa960f368ab19a0911047b1a98a (diff) | |
Fixed missing item handling in Fl_Chekc_Browser (STR #3480).
Diffstat (limited to 'FL/Fl_Check_Browser.H')
| -rw-r--r-- | FL/Fl_Check_Browser.H | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/FL/Fl_Check_Browser.H b/FL/Fl_Check_Browser.H index 9067d7570..51d28039a 100644 --- a/FL/Fl_Check_Browser.H +++ b/FL/Fl_Check_Browser.H @@ -30,8 +30,9 @@ lines that may be selected and/or checked by the user. */ class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ { - /* required routines for Fl_Browser_ subclass: */ +protected: + /* required routines for Fl_Browser_ subclass: */ void *item_first() const; void *item_next(void *) const; void *item_prev(void *) const; @@ -40,6 +41,10 @@ class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ { void item_draw(void *, int, int, int, int) const; void item_select(void *, int); int item_selected(void *) const; + const char *item_text(void *item) const /* override */; + void *item_at(int index) const /* override */; + void item_swap(int ia, int ib) /* override */; + void item_swap(void *a, void *b) /* override */; /* private data */ |
