X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fa03f04345b620d1a14529b05961116b20a1297..f5a1953b341d16396763bee067ccdd96108f3aad:/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) \