X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fa03f04345b620d1a14529b05961116b20a1297..35c2acd4a81a3b41ced9253f744a00e64de2a423:/include/wx/dialup.h diff --git a/include/wx/dialup.h b/include/wx/dialup.h index 30c06f756c..2a9975fd51 100644 --- a/include/wx/dialup.h +++ b/include/wx/dialup.h @@ -191,7 +191,7 @@ private: typedef void (wxEvtHandler::*wxDialUpEventFunction)(wxDialUpEvent&); #define wxDialUpEventHandler(func) \ - (wxObjectEventFunction)wxStaticCastEvent(wxDialUpEventFunction, &func) + (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxDialUpEventFunction, &func) // macros to catch dialup events #define EVT_DIALUP_CONNECTED(func) \