X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fa03f04345b620d1a14529b05961116b20a1297..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/include/wx/process.h 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))