]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/benchmarks/printfbench.cpp
Ensure that detached menus don't keep focus grab in wxGTK.
[wxWidgets.git] / tests / benchmarks / printfbench.cpp
index 7ee4cf9314df14dccea12e9dbd3929d8b4f5b034..1a7d006052cba3d90afc4ae4691a42e87d5ecc47 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     27/3/2006
 // RCS-ID:      $Id$
 // Copyright:   (c) 2006-2009 Francesco Montorsi
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 /*
@@ -62,15 +62,15 @@ const wxString g_verylongString =
 #define DO_LONG_BENCHMARK(fnc, prefix)                                                     \
     fnc(buffer, BUFSIZE,                                                                   \
         prefix##"This is a reasonably long string with various %s arguments, exactly %d, " \
-        "and is used as benchmark for %s - %% %.2f %d %s",                                 \
-        "(many!!)", 6, "this program", 23.342f, 999,                                       \
+        prefix##"and is used as benchmark for %s - %% %.2f %d %s",                                 \
+        prefix##"(many!!)", 6, "this program", 23.342f, 999,                                       \
         (const char*)g_verylongString.c_str());
 
 #define DO_LONG_POSITIONAL_BENCHMARK(fnc, prefix)                                          \
     fnc(buffer, BUFSIZE,                                                                   \
         prefix##"This is a %2$s and thus is harder to parse... let's %1$s "                \
-        "for our benchmarking aims - %% %3$f %5$d %4$s",                                   \
-        "test it", "string with positional arguments", 23.342f,                            \
+        prefix##"for our benchmarking aims - %% %3$f %5$d %4$s",                                   \
+        prefix##"test it", "string with positional arguments", 23.342f,                            \
         (const char*)g_verylongString.c_str(), 999);
 
 #define DO_BENCHMARK(fnc, prefix)                                                          \