]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/process.h
further wxABI_VERSION fixes
[wxWidgets.git] / include / wx / process.h
index baaea3e33025fbaac6d370fc83240340dfae1409..b372d7235fd1300a9a9df1057b30fccad53f4f51 100644 (file)
@@ -168,7 +168,7 @@ public:
 typedef void (wxEvtHandler::*wxProcessEventFunction)(wxProcessEvent&);
 
 #define wxProcessEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxProcessEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxProcessEventFunction, &func)
 
 #define EVT_END_PROCESS(id, func) \
    wx__DECLARE_EVT1(wxEVT_END_PROCESS, id, wxProcessEventHandler(func))