X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a324a7bccf4bda8f4f2bf09daee8104cae953cee..cd25b18c8e7e8d77b1a5847f289afec6e114fbd5:/include/wx/socket.h diff --git a/include/wx/socket.h b/include/wx/socket.h index b2dcf6056a..1b23f7c075 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -39,7 +39,8 @@ class WXDLLEXPORT wxSocketBase : public wxEvtHandler DECLARE_CLASS(wxSocketBase) public: - enum wxSockFlags { NONE=0, NOWAIT=1, WAITALL=2, SPEED=4 }; + enum { NONE=0, NOWAIT=1, WAITALL=2, SPEED=4 }; + typedef int wxSockFlags; // Type of request enum wxSockType { SOCK_CLIENT, SOCK_SERVER, SOCK_INTERNAL, SOCK_UNINIT };