]>
git.saurik.com Git - wxWidgets.git/blob - src/common/process.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Process termination classes
4 // Author: Guilhem Lavaux
8 // Copyright: (c) Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "process.h"
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
27 #include "wx/process.h"
29 IMPLEMENT_DYNAMIC_CLASS(wxProcess
, wxEvtHandler
)
30 IMPLEMENT_DYNAMIC_CLASS(wxProcessEvent
, wxEvent
)
32 wxProcess::wxProcess(wxEvtHandler
*parent
, int id
)
35 SetNextHandler(parent
);
40 void wxProcess::OnTerminate(int pid
, int status
)
42 wxProcessEvent
event(m_id
, pid
, status
);