X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3e646b47f99fd832ab29c07554b533ea8a807e4..4aaef122cbbd5bbe0e70b824e320458e2329dd13:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 7ec0743ec1..003bd9dbcf 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -1235,25 +1235,6 @@ wxDatagramSocket& wxDatagramSocket::SendTo( wxSockAddress& addr, return (*this); } -// ========================================================================== -// wxSocketEvent -// ========================================================================== - -wxSocketEvent::wxSocketEvent(int id) : wxEvent(id) -{ - SetEventType( (wxEventType)wxEVT_SOCKET ); -} - -void wxSocketEvent::CopyObject(wxObject& object_dest) const -{ - wxSocketEvent *event = (wxSocketEvent *)&object_dest; - - wxEvent::CopyObject(object_dest); - - event->m_event = m_event; - event->m_clientData = m_clientData; -} - // ========================================================================== // wxSocketModule // ==========================================================================