diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-10-22 21:15:11 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-10-22 21:15:11 +0000 |
| commit | 19518ebe35587898a32e3172529761a9a9058621 (patch) | |
| tree | c7e1b773cd2a7666be62c3849a44c9c5ff5d4b02 /src | |
| parent | 29476d08b848fa7e8a6261349bb8d80cdb8a3069 (diff) | |
Make Fl_Widget::parent() work with Fl_Group pointers...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Value_Input.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Value_Input.cxx b/src/Fl_Value_Input.cxx index 6371649e6..398c626bb 100644 --- a/src/Fl_Value_Input.cxx +++ b/src/Fl_Value_Input.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Value_Input.cxx,v 1.6.2.5 2001/01/22 15:13:40 easysw Exp $" +// "$Id: Fl_Value_Input.cxx,v 1.6.2.5.2.1 2001/10/22 21:15:11 easysw Exp $" // // Value input widget for the Fast Light Tool Kit (FLTK). // @@ -117,7 +117,7 @@ Fl_Value_Input::Fl_Value_Input(int x, int y, int w, int h, const char* l) soft_ = 0; if (input.parent()) // defeat automatic-add ((Fl_Group*)input.parent())->remove(input); - input.parent(this); // kludge! + input.parent((Fl_Group *)this); // kludge! input.callback(input_cb, this); input.when(FL_WHEN_CHANGED); box(input.box()); @@ -128,5 +128,5 @@ Fl_Value_Input::Fl_Value_Input(int x, int y, int w, int h, const char* l) } // -// End of "$Id: Fl_Value_Input.cxx,v 1.6.2.5 2001/01/22 15:13:40 easysw Exp $". +// End of "$Id: Fl_Value_Input.cxx,v 1.6.2.5.2.1 2001/10/22 21:15:11 easysw Exp $". // |
