]>
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 #if !USE_SHARED_LIBRARY
30 IMPLEMENT_DYNAMIC_CLASS(wxProcess
, wxEvtHandler
)
31 IMPLEMENT_DYNAMIC_CLASS(wxProcessEvent
, wxEvent
)
34 wxProcess::wxProcess(wxEvtHandler
*parent
, int id
)
37 SetPreviousHandler(parent
);
42 void wxProcess::OnTerminate(int pid
)
44 wxProcessEvent
event(m_id
, pid
);