diff host/tools/configtool/standalone/wxwin/mainwin.cpp @ 163:0d2b193a635f

Merge from eCos master repository on 2001-06-22-17:38:39-BST
author jlarmour
date Fri, 22 Jun 2001 18:18:44 +0000
parents 0d0f03f76f6a
children d63db767121d
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/mainwin.cpp
+++ b/host/tools/configtool/standalone/wxwin/mainwin.cpp
@@ -30,7 +30,7 @@
 // Author(s):   julians
 // Contact(s):  julians
 // Date:        2000/08/24
-// Version:     $Id: mainwin.cpp,v 1.42 2001/05/16 16:08:24 julians Exp $
+// Version:     $Id: mainwin.cpp,v 1.43 2001/06/18 14:41:13 julians Exp $
 // Purpose:
 // Description: Implementation file for the ConfigTool main window
 // Requires:
@@ -1508,7 +1508,11 @@ void ecMainFrame::OnBuildTests(wxCommand
 void ecMainFrame::OnStopBuild(wxCommandEvent& event)
 {
     if (wxGetApp().m_pipedProcess)
+    {
+        long pid = wxGetApp().m_pipedProcess->GetPid();
         wxGetApp().m_pipedProcess->Detach();
+        ecKill(pid, wxSIGKILL);
+    }
 }
 
 void ecMainFrame::OnClean(wxCommandEvent& event)