X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa8825a01d6ddb652f70e58e9de9844b03e7914f..cd794127ff73748f8199587897f57aa02c5ef059:/tests/benchmarks/bench.cpp diff --git a/tests/benchmarks/bench.cpp b/tests/benchmarks/bench.cpp index 0d694e7826..5c058e418e 100644 --- a/tests/benchmarks/bench.cpp +++ b/tests/benchmarks/bench.cpp @@ -5,7 +5,7 @@ // Created: 2008-07-19 // RCS-ID: $Id$ // Copyright: (c) 2008 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -20,6 +20,10 @@ #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;