X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22f3361e1cf25c52a2da8fdfc5cb081809e18fb9..0e878cfcc6486c7903ae89b316bc71700320199d:/src/common/socket.cpp?ds=sidebyside diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 2c44f0dd13..d79c4986c2 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -834,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;