]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/benchmarks/bench.cpp
No changes, just fix a typo in a comment in docview event handling code.
[wxWidgets.git] / tests / benchmarks / bench.cpp
index 9cabf9601171de5f7caad366509a598c1ac1b8d1..90b5f017e3bef0d7d6066a5cf3fbb1c4bcd9ae2a 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     Main file of the benchmarking suite
 // Author:      Vadim Zeitlin
 // Created:     2008-07-19
-// RCS-ID:      $Id$
 // Copyright:   (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 #include "wx/cmdline.h"
 #include "wx/stopwatch.h"
 
+#if wxUSE_GUI
+    #include "wx/frame.h"
+#endif
+
 #include "bench.h"
 
 // ----------------------------------------------------------------------------
@@ -294,6 +297,8 @@ int BenchApp::OnRun()
             wxPrintf("%.2f avg (min=%ld, max=%ld)\n",
                      (float)timeTotal / times, timeMin, timeMax);
         }
+
+        fflush(stdout);
     }
 
     return rc;