X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/530ecef01f7e33c2ec1b8b1ad8025484709bef1d..bf6d45ebf663a0f31021893d2369a95d96198c8f:/src/msw/utilsexc.cpp diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 8df728921e..60dc54d9e1 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -32,13 +32,13 @@ #if wxUSE_STREAMS #include "wx/stream.h" #endif + #include "wx/module.h" #endif #include "wx/process.h" #include "wx/apptrait.h" -#include "wx/module.h" #include "wx/msw/private.h" @@ -723,13 +723,13 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler) // Win32 allows for null #ifdef __WXWINCE__ (wxChar *) - moduleName.c_str(), // application name + moduleName.wx_str(),// application name (wxChar *) - arguments.c_str(), // arguments + arguments.wx_str(), // arguments #else NULL, // application name (use only cmd line) (wxChar *) - command.c_str(), // full command line + command.wx_str(), // full command line #endif NULL, // security attributes: defaults for both NULL, // the process and its main thread