From d2896be34a7a137fe75d0abd90c33db9ddb15cb3 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 30 Oct 2001 21:56:15 +0000 Subject: FLUID didn't write static data for the deimage() image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 1 + fluid/Fl_Widget_Type.cxx | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 9bb161242..a3fb1f88b 100644 --- a/CHANGES +++ b/CHANGES @@ -25,6 +25,7 @@ CHANGES IN FLTK 1.1.0b5 not quoted...) - FLTK should now compile with Cygwin cleanly. - Shortcut changes were not being saved by FLUID. + - FLUID didn't write the deimage() static data. CHANGES IN FLTK 1.1.0b4 diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 5e9caa775..2594104c6 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.6 2001/10/29 03:44:32 easysw Exp $" +// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.7 2001/10/30 21:56:15 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -1439,6 +1439,12 @@ void Fl_Widget_Type::write_static() { image->written = write_number; } } + if (inactive) { + if (inactive->written != write_number) { + inactive->write_static(); + inactive->written = write_number; + } + } } const char *Fl_Type::callback_name() { @@ -1957,5 +1963,5 @@ int Fl_Widget_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.6 2001/10/29 03:44:32 easysw Exp $". +// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.7 2001/10/30 21:56:15 easysw Exp $". // -- cgit v1.2.3