Add call to GdiFlush() under WIN32.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2001-01-26 13:31:51 +00:00
parent 94788c4628
commit ffe92796d8
2 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -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 $".
//