]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
use HandleWindowEvent() in Close() as it can be called from a GTK+ callback (#9565)
[wxWidgets.git] / src / common / socket.cpp
index 52aba80f2d4c2bc014da5b1d17f30e22e670a06e..a53ae44d636002fa844fb99f0c1e2aecf60f8415 100644 (file)
@@ -1260,6 +1260,8 @@ bool wxSocketBase::SetLocal(wxIPV4address& local)
 wxSocketClient::wxSocketClient(wxSocketFlags flags)
               : wxSocketBase(flags, wxSOCKET_CLIENT)
 {
+    m_initialRecvBufferSize =
+    m_initialSendBufferSize = -1;
 }
 
 wxSocketClient::~wxSocketClient()