]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/process.h
Listbox control code
[wxWidgets.git] / 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__