diff options
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
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 $". // |
