X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa8825a01d6ddb652f70e58e9de9844b03e7914f..f363cee882672e147340240cf0bb194a68e37833:/tests/benchmarks/bench.cpp diff --git a/tests/benchmarks/bench.cpp b/tests/benchmarks/bench.cpp index 0d694e7826..90b5f017e3 100644 --- a/tests/benchmarks/bench.cpp +++ b/tests/benchmarks/bench.cpp @@ -3,9 +3,8 @@ // Purpose: Main file of the benchmarking suite // Author: Vadim Zeitlin // Created: 2008-07-19 -// RCS-ID: $Id$ // Copyright: (c) 2008 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -20,6 +19,10 @@ #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;