]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
compilation fix for Windows after the last change (misplaced #endif)
[wxWidgets.git] / src / msw / utilsexc.cpp
index 0269180d9a9b5910e5ca935dbff337f6933e6954..aaf6176b1c2b86d35b62b49dcfe99ae771b033fb 100644 (file)
@@ -899,6 +899,9 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler)
     {
         // may be NULL or not
         data->handler = handler;
+
+        if (handler)
+            handler->SetPid(pi.dwProcessId);
     }
 
     DWORD tid;