]> git.saurik.com Git - wxWidgets.git/commitdiff
fix to allow code using EVT_END_PROCESS to compie with new wxEvtHandler declaration
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Oct 2001 22:34:55 +0000 (22:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Oct 2001 22:34:55 +0000 (22:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/process.h

index 571bf65c2947e9762eb535e852ebe50b30c33707..cfc4ca9627d806b3fb65d85ebdb1c5696734d7f7 100644 (file)
@@ -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__