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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user