summaryrefslogtreecommitdiff
path: root/FL/Fl_Value_Input.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2009-01-08 17:12:34 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2009-01-08 17:12:34 +0000
commiteec7f80e949dd78874741a6c17fe66ec74cec3a5 (patch)
tree74a1d08ed3432f34d73af19b751cec2705217e4e /FL/Fl_Value_Input.H
parent601a0f0d3efd46b0ef6c34a98cd738bceaae504c (diff)
Widgets now remove themselves from their parent group (if any), when destroyed
(STR #1894). Fl_Group::clear() removes widget by widget (one at a time) to allow widgets to remove other related widgets from the same group, when they are deleted. Also fixed a bug in Fl_Value_Input (added a destructor), because it used a non-Fl_Group widget as parent of another widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Value_Input.H')
-rw-r--r--FL/Fl_Value_Input.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Value_Input.H b/FL/Fl_Value_Input.H
index 82b5cc8f2..6cba43e6d 100644
--- a/FL/Fl_Value_Input.H
+++ b/FL/Fl_Value_Input.H
@@ -76,6 +76,7 @@ public:
void draw();
void resize(int,int,int,int);
Fl_Value_Input(int x,int y,int w,int h,const char *l=0);
+ ~Fl_Value_Input();
/** See void Fl_Value_Input::soft(char s) */
void soft(char s) {soft_ = s;}