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
This commit is contained in:
Vadim Zeitlin 2010-07-13 14:13:12 +00:00
parent 330b318983
commit 0fbd8b9bbb

View File

@ -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");