]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.cpp
changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for...
[wxWidgets.git] / src / msw / gsocket.cpp
index c107146e2c615ede248523219ddb330278552e40..2edc3ab24796396c89d07cbb61a85c201a92798c 100644 (file)
@@ -222,7 +222,7 @@ void GSocket::Shutdown()
   /* If socket has been created, shutdown it */
   if (m_fd != INVALID_SOCKET)
   {
-    shutdown(m_fd, 2);
+    shutdown(m_fd, 1 /* SD_SEND */);
     Close();
   }