X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08bee49e39023211dce786de9cf687b35849e427..65c11337559c3b95e86d38723c37ca6b10a2bd5b:/src/os2/utils.cpp diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 7fb53b78a3..5576bc9b82 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -157,7 +157,7 @@ bool wxShell( const wxString& rCommand ) SData.PgmName = (char*)zShell; sInputs = _T("/C ") + rCommand; - SData.PgmInputs = (BYTE*)sInputs.char_str(); + SData.PgmInputs = (BYTE*)sInputs.wx_str(); SData.TermQ = 0; SData.Environment = 0; SData.InheritOpt = SSF_INHERTOPT_SHELL;