]> git.saurik.com Git - wxWidgets.git/commit
Cleanup of wxSocket::_Wait():
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 13 Oct 2008 13:00:49 +0000 (13:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 13 Oct 2008 13:00:49 +0000 (13:00 +0000)
commit60ee01727442e8b364825cd965a3e06c21f07833
tree2d9207def805087de3c82c38ba651d5744d3da96
parent551266a969c28562e73c96941f2c7d83fa3eb282
Cleanup of wxSocket::_Wait():
 - Rename to DoWait() to avoid symbols starting with underscores.
 - Added comments explaining how does it work.
 - Remove the pointless timeout manipulations: GSocket::Select() doesn't
   use timeout (any more?) anyhow.

Also pass GSOCK_LOST_FLAG to DoWait() from WaitForWrite() for the same reasons
it is done in WaitForRead().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/socket.h
src/common/socket.cpp