]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
mention that calling SetFaceName() with an invalid facename will invalidate the font...
[wxWidgets.git] / src / msw / utilsexc.cpp
index f67e0eb11d9cf3024b5b7e6f2c9f2f5c1b200dd1..aaf6176b1c2b86d35b62b49dcfe99ae771b033fb 100644 (file)
@@ -217,7 +217,7 @@ protected:
 protected:
     HANDLE m_hInput;
 
-    DECLARE_NO_COPY_CLASS(wxPipeInputStream)
+    wxDECLARE_NO_COPY_CLASS(wxPipeInputStream);
 };
 
 class wxPipeOutputStream: public wxOutputStream
@@ -233,7 +233,7 @@ protected:
 protected:
     HANDLE m_hOutput;
 
-    DECLARE_NO_COPY_CLASS(wxPipeOutputStream)
+    wxDECLARE_NO_COPY_CLASS(wxPipeOutputStream);
 };
 
 // define this to let wxexec.cpp know that we know what we're doing
@@ -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;