X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a737331db68b754c8bf31fa0a15f6d1f207b40bf..119143528d2ba3dc77ca533aece7982fdcb31bf5:/include/wx/socket.h diff --git a/include/wx/socket.h b/include/wx/socket.h index 23b6b2b8d3..ef410dbc30 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -95,6 +95,8 @@ public: wxSocketBase& Read(char* buffer, size_t nbytes); wxSocketBase& Write(const char *buffer, size_t nbytes); wxSocketBase& Unread(const char *buffer, size_t nbytes); + wxSocketBase& ReadMsg(char *buffer, size_t nbytes); + wxSocketBase& WriteMsg(const char *buffer, size_t nbytes); void Discard(); // Try not to use this two methods (they sould be protected) @@ -252,17 +254,6 @@ public: // Create or reuse a socket handler static wxSocketHandler& Master() { return *master; } - -#if defined(WXSOCK_INTERNAL) && defined(__WINDOWS__) - - friend LRESULT APIENTRY _EXPORT wxSocketHandlerWndProc(HWND hWnd, - UINT message, WPARAM wParam, LPARAM lParam); - - UINT NewMessage(wxSocketBase *sock); - void DestroyMessage(UINT msg); - - HWND GetHWND() const; -#endif }; class WXDLLEXPORT wxSocketEvent : public wxEvent { @@ -273,7 +264,8 @@ public: wxSocketBase::wxRequestEvent SocketEvent() const { return m_skevt; } wxSocketBase *Socket() const { return m_socket; } - wxObject *Clone() const; + void CopyObject(wxObject& obj_d) const; + public: wxSocketBase::wxRequestEvent m_skevt; wxSocketBase *m_socket;