X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaff0f0d3f7828c2acd9ebde4979acc0b3fa43b5..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/unix/stackwalk.h 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); }