X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63a3cd7a8c737eb4571f27e5f2af37eda0f1c5cc..404b319a85dadd7decf7a5a5331020520031a41c:/src/os2/utilsexc.cpp diff --git a/src/os2/utilsexc.cpp b/src/os2/utilsexc.cpp index 909da35a3a..199781f7cf 100644 --- a/src/os2/utilsexc.cpp +++ b/src/os2/utilsexc.cpp @@ -16,10 +16,9 @@ #include "wx/utils.h" #include "wx/app.h" #include "wx/intl.h" + #include "wx/log.h" #endif -#include "wx/log.h" - #include "wx/process.h" #include "wx/os2/private.h" @@ -129,7 +128,8 @@ MRESULT APIENTRY wxExecuteWindowCbk( HWND hWnd, long wxExecute( const wxString& rCommand, int flags, - wxProcess* pHandler) + wxProcess* pHandler, + const wxExecuteEnv *env) { if (rCommand.empty()) { @@ -157,7 +157,7 @@ long wxExecute( const wxString& rCommand, ,zArgs ,zEnvs ,&vResultCodes - ,(PSZ)rCommand.c_str() + ,rCommand.c_str() ); if (rc != NO_ERROR) { @@ -220,6 +220,7 @@ long wxExecute( char** ppArgv , int flags , wxProcess* pHandler +, const wxExecuteEnv *env ) { wxString sCommand; @@ -235,6 +236,7 @@ long wxExecute( return wxExecute( sCommand ,flags ,pHandler + , env ); }