From: Vadim Zeitlin Date: Wed, 19 Jan 2005 20:13:49 +0000 (+0000) Subject: Unicode compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/14bdf0939698a408c29d62d40c034d9f3b951951 Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unix/stackwalk.h b/include/wx/unix/stackwalk.h index 77aebf52f3..eb53fac59d 100644 --- a/include/wx/unix/stackwalk.h +++ b/include/wx/unix/stackwalk.h @@ -55,7 +55,10 @@ public: // addr2line, normally we can retrieve it from wxTheApp but if wxTheApp // doesn't exist or doesn't have the correct value, the path may be given // explicitly - wxStackWalker(const char *argv0 = NULL) { ms_exepath = argv0; } + wxStackWalker(const char *argv0 = NULL) + { + ms_exepath = wxString::FromAscii(argv0); + } virtual void Walk(size_t skip = 1); virtual void WalkFromException() { Walk(2); }