]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup()
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Jul 2008 02:05:11 +0000 (02:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Jul 2008 02:05:11 +0000 (02:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/streams/socketstream.cpp

index 7a4002163a09416fb70a4bcb8036ac11c71b7d75..3beda4cca87e3c6eceab6f8b41ead458388d4eb4 100644 (file)
@@ -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()