a better compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-21 19:31:23 +00:00
parent fb61df8580
commit bc450ccdff

View File

@@ -75,7 +75,8 @@ enum {
wxSOCKET_BLOCK = 4
};
typedef int wxSockFlags;
// this is ugly but necessary for backwards compatibility
#define wxSockFlags wxSocketBase::wxSockFlags
// ------------------------------------------------------------------------
// wxSocket base
@@ -96,6 +97,7 @@ public:
};
// Type of request
typedef int wxSockFlags;
enum wxSockType { SOCK_CLIENT, SOCK_SERVER, SOCK_INTERNAL, SOCK_UNINIT };
typedef void (*wxSockCbk)(wxSocketBase& sock, wxSocketNotify evt, char *cdata);