diff options
| author | gustavo <gustavo> | 1999-04-18 14:10:55 +0000 |
|---|---|---|
| committer | gustavo <gustavo> | 1999-04-18 14:10:55 +0000 |
| commit | 923aa16100771ca4cbcdb2e575f3fe17753d5d1f (patch) | |
| tree | d85720bc91c387208abdb3e53f1fa4e1f082c371 /fluid/Fl_Window_Type.cxx | |
| parent | c319bcae89df8353c64cc82fe3565a66dfbd2b6a (diff) | |
Changes so that "extra code" goes before o->end() and close bracket.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Window_Type.cxx')
| -rw-r--r-- | fluid/Fl_Window_Type.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index dd3757d7e..4e34dfc2b 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Window_Type.cxx,v 1.13.2.1 1999/03/29 17:39:26 carl Exp $" +// "$Id: Fl_Window_Type.cxx,v 1.13.2.2 1999/04/18 14:10:55 gustavo Exp $" // // Window type code for the Fast Light Tool Kit (FLTK). // @@ -593,13 +593,14 @@ void Fl_Window_Type::write_code1() { } void Fl_Window_Type::write_code2() { + write_extra_code(); if (modal) write_c("%so->set_modal();\n", indent()); else if (non_modal) write_c("%so->set_non_modal();\n", indent()); if (!((Fl_Window*)o)->border()) write_c("%so->clear_border();\n", indent()); write_c("%so->end();\n", indent()); if (((Fl_Window*)o)->resizable() == o) write_c("%so->resizable(o);\n", indent()); - Fl_Widget_Type::write_code2(); + write_block_close(); } void Fl_Window_Type::write_properties() { @@ -652,5 +653,5 @@ int Fl_Window_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.1 1999/03/29 17:39:26 carl Exp $". +// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.2 1999/04/18 14:10:55 gustavo Exp $". // |
