]> git.saurik.com Git - wxWidgets.git/commitdiff
made wxProcess-related code compile again (it doesn't work correctly yet,
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Feb 1999 23:45:17 +0000 (23:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Feb 1999 23:45:17 +0000 (23:45 +0000)
will be fixed a bit later)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utilsexc.cpp

index 0b7212e2a07f578662099088661c990b47c31d0c..c9ef40cab63033033830f865fc8806810a50506c 100644 (file)
 #endif
 
 #include "wx/log.h"
+#include "wx/process.h"
+
 #include "wx/msw/private.h"
+
 #include <windows.h>
 
 #include <ctype.h>
@@ -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;