X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/007c77ab4decca23af91dbe97a4153a286a22acd..dd91da4ed1e9d2ba5d3bc2fae64a8e4ea86b5d41:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 2848d09a9a..d79c4986c2 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -106,6 +106,8 @@ public: public: wxSocketState() : wxObject() {} + + DECLARE_NO_COPY_CLASS(wxSocketState) }; // ========================================================================== @@ -832,11 +834,11 @@ void wxSocketBase::RestoreState() wxNode *node; wxSocketState *state; - node = m_states.Last(); + node = m_states.GetLast(); if (!node) return; - state = (wxSocketState *)node->Data(); + state = (wxSocketState *)node->GetData(); m_flags = state->m_flags; m_notify = state->m_notify;