X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fa03f04345b620d1a14529b05961116b20a1297..73302af6dddd667af4ebec69c800bc9de106f28e:/include/wx/process.h?ds=inline diff --git a/include/wx/process.h b/include/wx/process.h index baaea3e330..b372d7235f 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -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))