From afadf3bc6ae9e9f91a683e29fa457c9b5d9bf02c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 10 Oct 2001 22:34:55 +0000 Subject: [PATCH] fix to allow code using EVT_END_PROCESS to compie with new wxEvtHandler declaration git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/process.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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__