]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/process.h
(blind) compilation fix for wxUniv
[wxWidgets.git] / include / wx / process.h
index 843e6b20abb2f1814652758070f1fcf527e3e76f..2089c497ac19f075f65144ec41a024bda29fb787 100644 (file)
@@ -171,9 +171,7 @@ 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),
+           (wxObjectEventFunction) (wxEventFunction)  wxStaticCastEvent( wxProcessEventFunction, & func ), NULL),
 
 #endif
     // _WX_PROCESSH__