diff --git a/CHANGES b/CHANGES index e0fc3eb6a4b35f829c3da93eebc32a75281254b3..fd10de1d575deab4174bdba84028e08a779dbe9c 100644 --- a/CHANGES +++ b/CHANGES @@ -14,13 +14,16 @@ CHANGES SINCE FLTK 1.0.10 and respond to them. - "accu-timer": some changes to repeat_timeout that seem - to make it accurate on Unix and Win32 at speeds up to + to make it accurate on Unix and WIN32 at speeds up to 500000 timeouts/second (and 700000 on Linux), and within about .001% as accurate as the system clock. - Fix to Fl_Valuator::step() by Guillermo Andrade. - - Fixed the write-menu bug introduced in 1.0.10 + - Fixed the FLUID write-menu bug introduced in 1.0.10 + + - Fl::flush() now calls GdiFlush() under WIN32 to + ensure that all graphics are drawn. CHANGES SINCE FLTK 1.0.9 diff --git a/src/Fl.cxx b/src/Fl.cxx index 3b5156d1d99adce8199ff3c8455da8bf0152e3c4..02afc5f9a6b8c4e52a79e94f8fce5d7608f38566 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.39 2001/01/22 15:13:39 easysw Exp $" +// "$Id: Fl.cxx,v 1.24.2.40 2001/01/26 13:31:51 easysw Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -341,7 +341,9 @@ void Fl::flush() { } } } -#ifndef WIN32 +#ifdef WIN32 + GdiFlush(); +#else if (fl_display) XFlush(fl_display); #endif } @@ -781,5 +783,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.39 2001/01/22 15:13:39 easysw Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.40 2001/01/26 13:31:51 easysw Exp $". //