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
This commit is contained in:
Vadim Zeitlin
2008-07-09 02:05:11 +00:00
parent 3ec704b422
commit 41cef82a0a

View 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()