// the exit code
int GetExitCode() { return m_exitcode; }
+ // implement the base class pure virtual
+ virtual wxEvent *Clone() const { return new wxProcessEvent(*this); }
+
public:
- int m_pid, m_exitcode;
+ int m_pid,
+ m_exitcode;
DECLARE_DYNAMIC_CLASS(wxProcessEvent)
};
-typedef void (wxObject::*wxProcessEventFunction)(wxProcessEvent&);
+typedef void (wxEvtHandler::*wxProcessEventFunction)(wxProcessEvent&);
#define EVT_END_PROCESS(id, func) \
- DECLARE_EVENT_TABLE_ENTRY( wxEVT_END_PROCESS, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxProcessEventFunction) & func, NULL),
+ DECLARE_EVENT_TABLE_ENTRY( \
+ wxEVT_END_PROCESS, id, -1, \
+ (wxObjectEventFunction) \
+ (wxEventFunction) \
+ (wxProcessEventFunction) & func, NULL),
#endif
// _WX_PROCESSH__