summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2002-07-11 01:10:15 +0000
committerMatthias Melcher <fltk@matthiasm.com>2002-07-11 01:10:15 +0000
commit7dc80d17b0a29dd5c9b6f7f2763c51af9e5fe96d (patch)
treea955664696efc75660ef7e74ce2aad2f6faae742 /test
parent066fc7805c7835334c046d8b0717cbd8b6d7acae (diff)
MacOS: wait(0) would not handle all pending events.
The OpenGL demos were showing a significant delay in handling UI events. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/cube.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cube.cxx b/test/cube.cxx
index bc5d5a2be..2095f5db0 100644
--- a/test/cube.cxx
+++ b/test/cube.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: cube.cxx,v 1.4.2.5.2.3 2002/06/26 03:36:57 matthiaswm Exp $"
+// "$Id: cube.cxx,v 1.4.2.5.2.4 2002/07/11 01:10:15 matthiaswm Exp $"
//
// Another forms test program for the Fast Light Tool Kit (FLTK).
//
@@ -33,6 +33,7 @@
#include <FL/Fl_Radio_Light_Button.H>
#include <FL/Fl_Slider.H>
#include <stdlib.h>
+#include <stdio.h>
#if !HAVE_GL
class cube_box : public Fl_Box {
@@ -184,5 +185,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: cube.cxx,v 1.4.2.5.2.3 2002/06/26 03:36:57 matthiaswm Exp $".
+// End of "$Id: cube.cxx,v 1.4.2.5.2.4 2002/07/11 01:10:15 matthiaswm Exp $".
//