X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f6eaf5ee2335e43d6f03c99b0b3cfd53c9b6edb..b4f4d3dd610a29a7be3c7a5f165520438d0328bb:/src/os2/utils.cpp diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index cc0812db27..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.c_str(); + SData.PgmInputs = (BYTE*)sInputs.wx_str(); SData.TermQ = 0; SData.Environment = 0; SData.InheritOpt = SSF_INHERTOPT_SHELL;