]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/benchmarks/bench.cpp
Always add libwxscintilla in monolithic mode.
[wxWidgets.git] / tests / benchmarks / bench.cpp
index 9cabf9601171de5f7caad366509a598c1ac1b8d1..5c058e418e38091f6ba897e3a39cd2fd1ce17a6f 100644 (file)
 #include "wx/cmdline.h"
 #include "wx/stopwatch.h"
 
+#if wxUSE_GUI
+    #include "wx/frame.h"
+#endif
+
 #include "bench.h"
 
 // ----------------------------------------------------------------------------
@@ -294,6 +298,8 @@ int BenchApp::OnRun()
             wxPrintf("%.2f avg (min=%ld, max=%ld)\n",
                      (float)timeTotal / times, timeMin, timeMax);
         }
+
+        fflush(stdout);
     }
 
     return rc;