]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/stackwalk.h
[ 1522987 ] wxComboCtrl crashes if TAB is pressed while popup is open
[wxWidgets.git] / include / wx / unix / stackwalk.h
index 77aebf52f3fbd9881bbd6f9144fc3986d4dcc0ae..eb53fac59dc501650b495d62928159948314c8da 100644 (file)
@@ -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); }