From: Vadim Zeitlin Date: Wed, 9 Jul 2008 02:05:11 +0000 (+0000) Subject: use wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41cef82a0a8ebd5de7e78688374c51f3a79c48a9 use wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/streams/socketstream.cpp b/tests/streams/socketstream.cpp index 7a4002163a..3beda4cca8 100644 --- a/tests/streams/socketstream.cpp +++ b/tests/streams/socketstream.cpp @@ -20,7 +20,6 @@ #include "wx/log.h" #endif -#include "wx/gsocket.h" #include "wx/socket.h" #include "wx/sckstrm.h" #include "wx/thread.h" @@ -158,12 +157,12 @@ socketStream::socketStream() m_writeThread = m_readThread = NULL; - GSocket_Init(); + wxSocketBase::Initialize(); } socketStream::~socketStream() { - GSocket_Cleanup(); + wxSocketBase::Shutdown(); } void socketStream::setUp()