git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39150
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
the first time it was called.
- Added wxString::rbegin() and rend()
- Added wxString::EndsWith()
-
+- wxSocket::_Read continues reading from socket after exhausting pushback buffer.
+ Previously, only the buffer would be returned, even if more data was requested.
All (GUI):
// Return now in one of the following cases:
// - the socket is invalid,
- // - we got all the data,
- // - we got *some* data and we are not using wxSOCKET_WAITALL.
+ // - we got all the data
if ( !m_socket ||
- !nbytes ||
- ((total != 0) && !(m_flags & wxSOCKET_WAITALL)) )
+ !nbytes )
return total;
// Possible combinations (they are checked in this order)