]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/benchmarks/printfbench.cpp
Revert the 2.8 hacks from r51892 on the trunk.
[wxWidgets.git] / tests / benchmarks / printfbench.cpp
index 4fa8c3dbee8601f61b2935f0b140ffbfc8fc72db..147cfa1b2319e7dfd3771fb7ba033604a84ebc47 100644 (file)
 #include <wx/utils.h>
 #include <wx/cmdline.h>
 #include <wx/app.h>
+#include <wx/wxchar.h>
 
 
 // ----------------------------------------------------------------------------
 // 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 }
 };