X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..695237bccd652c60deba347117ba5ab32067880c:/include/wx/dialup.h?ds=sidebyside diff --git a/include/wx/dialup.h b/include/wx/dialup.h index 182374aa15..ecd17efbe5 100644 --- a/include/wx/dialup.h +++ b/include/wx/dialup.h @@ -177,12 +177,13 @@ public: }; // the type of dialup event handler function -typedef void (wxObject::*wxDialUpEventFunction)(wxDialUpEvent&); +typedef void (wxEvtHandler::*wxDialUpEventFunction)(wxDialUpEvent&); // macros to catch dialup events #define EVT_DIALUP_CONNECTED(func) { wxEVT_DIALUP_CONNECTED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (wxDialUpEventFunction) & func, NULL}, #define EVT_DIALUP_DISCONNECTED(func) { wxEVT_DIALUP_DISCONNECTED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (wxDialUpEventFunction) & func, NULL}, + #endif // wxUSE_DIALUP_MANAGER #endif // _WX_NET_H