openbsd-ports/x11/wxWidgets/patches/patch-tests_test_cpp
dcoppa 9637d13311 Update to wxWidgets-2.8.12.
Tested in a bulk build by landry@
OK rpointel@, landry@
2011-05-22 08:13:18 +00:00

23 lines
1.1 KiB
Plaintext

$OpenBSD: patch-tests_test_cpp,v 1.1 2011/05/22 08:13:18 dcoppa Exp $
Unbreak compilation.
--- tests/test.cpp.orig Fri May 20 12:08:30 2011
+++ tests/test.cpp Fri May 20 12:09:25 2011
@@ -86,11 +86,11 @@ void TestApp::OnInitCmdLine(wxCmdLineParser& parser)
{ wxCMD_LINE_SWITCH, _T("L"), _T("longlist"),
_T("list the test cases, do not run them"),
wxCMD_LINE_VAL_NONE, 0 },
- { wxCMD_LINE_SWITCH, "d", "detail",
- "print the test case names, run them (not implemented)",
+ { wxCMD_LINE_SWITCH, _T("d"), _T("detail"),
+ _T("print the test case names, run them (not implemented)"),
wxCMD_LINE_VAL_NONE, 0 },
- { wxCMD_LINE_SWITCH, "t", "timing",
- "print names and mesure running time of individual test, run them (not implemented)",
+ { wxCMD_LINE_SWITCH, _T("t"), _T("timing"),
+ _T("print names and mesure running time of individual test, run them (not implemented)"),
wxCMD_LINE_VAL_NONE, 0 },
{ wxCMD_LINE_PARAM, 0, 0, _T("REGISTRY"), wxCMD_LINE_VAL_STRING,
wxCMD_LINE_PARAM_OPTIONAL | wxCMD_LINE_PARAM_MULTIPLE },