X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/412a5c570d18aa64f0077a3278ca232776f3f259..861b3043ca08b53d6110fd2c95c70ca5e9d25885:/tests/benchmarks/printfbench.cpp diff --git a/tests/benchmarks/printfbench.cpp b/tests/benchmarks/printfbench.cpp index 49f5d8e433..147cfa1b23 100644 --- a/tests/benchmarks/printfbench.cpp +++ b/tests/benchmarks/printfbench.cpp @@ -17,27 +17,37 @@ // headers // ---------------------------------------------------------------------------- -#include +#include "testprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include +#endif // WX_PRECOMP + #include #include #include #include +#include // ---------------------------------------------------------------------------- // command line // ---------------------------------------------------------------------------- -#define HELP_SWITCH wxT("h") -#define NUMBENCHMARK_OPTION wxT("n") +#define HELP_SWITCH "h" +#define NUMBENCHMARK_OPTION "n" static const wxCmdLineEntryDesc g_cmdLineDesc[] = { - { wxCMD_LINE_SWITCH, HELP_SWITCH, wxT("help"), - wxT("displays help on the command line parameters") }, + { wxCMD_LINE_SWITCH, HELP_SWITCH, "help", + "displays help on the command line parameters" }, - { wxCMD_LINE_OPTION, NUMBENCHMARK_OPTION, wxT("numtest"), - wxT("the number of wxPrintf() calls to benchmark"), wxCMD_LINE_VAL_NUMBER }, + { wxCMD_LINE_OPTION, NUMBENCHMARK_OPTION, "numtest", + "the number of wxPrintf() calls to benchmark", wxCMD_LINE_VAL_NUMBER }, { wxCMD_LINE_NONE } };