From: Vadim Zeitlin Date: Sun, 7 Feb 1999 23:45:17 +0000 (+0000) Subject: made wxProcess-related code compile again (it doesn't work correctly yet, X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dbeac4bd72c8604616919c89f0450899b182313a made wxProcess-related code compile again (it doesn't work correctly yet, will be fixed a bit later) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 0b7212e2a0..c9ef40cab6 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -28,7 +28,10 @@ #endif #include "wx/log.h" +#include "wx/process.h" + #include "wx/msw/private.h" + #include #include @@ -96,7 +99,7 @@ LRESULT APIENTRY _EXPORT wxExecuteWindowCbk(HWND hWnd, UINT message, if (message == wxEXECUTE_WIN_MESSAGE) { DestroyWindow(hWnd); if (data->handler) - data->handler->OnTerminate((int)data->process); + data->handler->OnTerminate((int)data->process, -1); if (data->state) data->state = 0;