From 0fbd8b9bbb249d338fc64182c309e0159b5ee14f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 13 Jul 2010 14:13:12 +0000 Subject: [PATCH] Really fix interactive output test compilation in ANSI build. Use a temporary wxString to make sure the code compiles in both ANSI and STL versions too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/interactive/output.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/interactive/output.cpp b/tests/interactive/output.cpp index 6d6294abb8..ff462c2176 100644 --- a/tests/interactive/output.cpp +++ b/tests/interactive/output.cpp @@ -377,7 +377,8 @@ void InteractiveOutputTestCase::TestStackWalk() #if wxUSE_STACKWALKER wxPuts(wxT("*** Testing wxStackWalker ***")); - StackDump dump(wxTheApp->argv[0].utf8_str()); + wxString progname(wxTheApp->argv[0]); + StackDump dump(progname.utf8_str()); dump.Walk(); wxPuts("\n");