X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..ef366d323bd723d04811993ae68474522985bb65:/include/wx/process.h diff --git a/include/wx/process.h b/include/wx/process.h index 67677f35d8..94788268cb 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -25,7 +25,7 @@ class WXDLLEXPORT wxProcess: public wxEvtHandler 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); @@ -52,7 +52,7 @@ class WXDLLEXPORT wxProcessEvent: public wxEvent 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 // _WX_PROCESSH__