From c30c095d7251e730e079c9a2d441cdc23e6c4b98 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Tue, 17 Oct 2000 06:33:59 +0000 Subject: Fluid restores which tab in an Fl_Tabs was selected when loads .fl files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Group_Type.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fluid/Fl_Group_Type.cxx b/fluid/Fl_Group_Type.cxx index c7933dd02..95b99ea5a 100644 --- a/fluid/Fl_Group_Type.cxx +++ b/fluid/Fl_Group_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Group_Type.cxx,v 1.4.2.5 2000/06/05 21:20:37 mike Exp $" +// "$Id: Fl_Group_Type.cxx,v 1.4.2.6 2000/10/17 06:33:59 spitzak Exp $" // // Fl_Group object code for the Fast Light Tool Kit (FLTK). // @@ -177,7 +177,6 @@ void Fl_Group_Type::add_child(Fl_Type* cc, Fl_Type* before) { void Fl_Tabs_Type::add_child(Fl_Type* c, Fl_Type* before) { Fl_Group_Type::add_child(c, before); - ((Fl_Tabs*)o)->value(0); } // This is called when o is deleted. If it is in the tab group make @@ -231,5 +230,5 @@ const char tile_type_name[] = "Fl_Tile"; Fl_Tile_Type Fl_Tile_type; // the "factory" // -// End of "$Id: Fl_Group_Type.cxx,v 1.4.2.5 2000/06/05 21:20:37 mike Exp $". +// End of "$Id: Fl_Group_Type.cxx,v 1.4.2.6 2000/10/17 06:33:59 spitzak Exp $". // -- cgit v1.2.3