From 19518ebe35587898a32e3172529761a9a9058621 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 22 Oct 2001 21:15:11 +0000 Subject: 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 --- src/Fl_Value_Input.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 $". // -- cgit v1.2.3