summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-05-25 17:41:00 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-05-25 17:41:00 +0200
commit0f3619ba0e725a6a9d57b9da328f3b1e2a0cd150 (patch)
tree037b2784c1863bf5c3b928feb64e9da7eedceed3 /FL
parent9abbff2078e2a092ecc252f6b147c24fe567f616 (diff)
Reimplement Fl_Group::delete_child(int) for Fl_Scroll
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Scroll.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Scroll.H b/FL/Fl_Scroll.H
index ed0f6ac3b..35fcf9a24 100644
--- a/FL/Fl_Scroll.H
+++ b/FL/Fl_Scroll.H
@@ -163,6 +163,10 @@ public:
int yposition() const {return yposition_;}
void scroll_to(int, int);
void clear();
+
+ /* delete child n (by index) */
+ virtual int delete_child(int n);
+
/**
Gets the current size of the scrollbars' troughs, in pixels.