// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
-#ifndef __PROCESSH__
-#define __PROCESSH__
+#ifndef _WX_PROCESSH__
+#define _WX_PROCESSH__
#ifdef __GNUG__
-#pragma interface
+#pragma interface "process.h"
#endif
#include "wx/defs.h"
DECLARE_DYNAMIC_CLASS(wxProcess)
public:
- wxProcess(wxEvtHandler *parent = NULL, int id = -1);
+ wxProcess(wxEvtHandler *parent = (wxEvtHandler *) NULL, int id = -1);
virtual ~wxProcess();
virtual void OnTerminate(int pid);
typedef void (wxObject::*wxProcessEventFunction)(wxProcessEvent&);
-#define EVT_END_PROCESS(id, func) { wxEVT_END_TERMINATE, id, -1, (wxObjectEvent) (wxEventFunction) (wxProcessEventFunction) & fn, NULL},
+#define EVT_END_PROCESS(id, func) { wxEVT_END_PROCESS, id, -1, (wxObjectEvent) (wxEventFunction) (wxProcessEventFunction) & fn, NULL},
#endif
- // __PROCESSH__
+ // _WX_PROCESSH__