X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db131261984ad9a406373bfa497e117c524ef0ed..f6ddc54a659d3f45c4dcd83eb4a70a92fdf7a391:/include/wx/socket.h?ds=inline diff --git a/include/wx/socket.h b/include/wx/socket.h index 49db4403d1..99422550b4 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -80,6 +80,9 @@ class WXDLLEXPORT wxSocketHandler; class WXDLLEXPORT wxSocketBase : public wxEvtHandler { DECLARE_CLASS(wxSocketBase) +#ifdef __WXMAC__ +friend void wxMacSocketOnRequestProc(void *refcon , short event) ; +#endif public: enum wxSockFlags { NONE=0, NOWAIT=1, WAITALL=2, SPEED=4 }; @@ -329,6 +332,8 @@ public: typedef void (wxEvtHandler::*wxSocketEventFunction)(wxSocketEvent&); +#define wxEVT_SOCKET wxEVT_FIRST+301 + #define EVT_SOCKET(id, func) { wxEVT_SOCKET, id, 0, \ (wxObjectEventFunction) (wxEventFunction) (wxSocketEventFunction) & func, \ (wxObject *) NULL },