diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-09-04 20:33:18 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-09-04 20:33:18 +0000 |
| commit | 32b9640e1ca9ce14f802309ad7818c23910dc62c (patch) | |
| tree | c89669a586e5bb23416841d4924520d8ea9a5175 /fluid | |
| parent | 0196542a090c4f225061553fdfbf234cb9da89ab (diff) | |
Fixes from Matthew Morrise.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 $". // |
