X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50567b69d60faa5a3575a077bb4f98530813c80d..934dac2fd54db20cbb9459fa9b22cd756441dfd8:/include/wx/process.h diff --git a/include/wx/process.h b/include/wx/process.h index 571bf65c29..cfc4ca9627 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -120,10 +120,14 @@ public: 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__