summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-01-26 13:31:51 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-01-26 13:31:51 +0000
commitffe92796d82eb51b4f2b0f90932ea4cee3d4e9be (patch)
treec07b18432867a9c83b505c38e6b2966c60c0ccdf /src
parent94788c4628f9cd80c16ca95ed6e9178c0e33b167 (diff)
Add call to GdiFlush() under WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 3b5156d1d..02afc5f9a 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 $".
//