X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..524b59ff2e7ff9e6f4e3eb4ce856d9497ce650b8:/include/wx/process.h diff --git a/include/wx/process.h b/include/wx/process.h index 843e6b20ab..2089c497ac 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -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__