summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-08-15 21:29:00 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-11-03 18:58:28 +0100
commit0ebb1135848943c618d865fce4966c559bed47c6 (patch)
tree6624393c69183d4d61251450dc2605ce2c3dee17 /FL
parenta5d2b5ed451ca8414bc3a82288fbbf63fcc97070 (diff)
Implement destructor of Fl_Scroll and fix inconsistencies
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Scroll.H7
1 files changed, 4 insertions, 3 deletions
diff --git a/FL/Fl_Scroll.H b/FL/Fl_Scroll.H
index fc26cb527..9c5549e46 100644
--- a/FL/Fl_Scroll.H
+++ b/FL/Fl_Scroll.H
@@ -1,7 +1,7 @@
//
-// Scroll header file for the Fast Light Tool Kit (FLTK).
+// Fl_Scroll header file for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2021 by Bill Spitzak and others.
+// Copyright 1998-2022 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -158,7 +158,8 @@ public:
void resize(int X, int Y, int W, int H);
int handle(int);
- Fl_Scroll(int X,int Y,int W,int H,const char*l=0);
+ Fl_Scroll(int X, int Y, int W, int H, const char *L = 0);
+ virtual ~Fl_Scroll();
enum { // values for type()
HORIZONTAL = 1,