From 32b9640e1ca9ce14f802309ad7818c23910dc62c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 4 Sep 2002 20:33:18 +0000 Subject: Fixes from Matthew Morrise. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Widget_Type.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'fluid') diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index ccbb4696e..3500f1f1a 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.17 2002/08/09 22:57:00 easysw Exp $" +// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.18 2002/09/04 20:33:17 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -1493,7 +1493,9 @@ void Fl_Widget_Type::write_code1() { if (is_window()) { // Handle special case of Fl_Group class type within a window - // output constructor using x, y, w, h... - if (strcmp(t, "Fl_Group") == 0) + if (strcmp(t, "Fl_Group") == 0 || + strcmp(t, "Fl_Tabs") == 0 || + strcmp(t, "Fl_Tile") == 0) write_c("new %s(0, 0, %d, %d", t, o->w(), o->h()); else write_c("new %s(%d, %d", t, o->w(), o->h()); @@ -1970,5 +1972,5 @@ int Fl_Widget_Type::read_fdesign(const char* propname, const char* value) { } // -// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.17 2002/08/09 22:57:00 easysw Exp $". +// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.18 2002/09/04 20:33:17 easysw Exp $". // -- cgit v1.2.3