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:
		@@ -20,7 +20,6 @@
 | 
				
			|||||||
    #include "wx/log.h"
 | 
					    #include "wx/log.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "wx/gsocket.h"
 | 
					 | 
				
			||||||
#include "wx/socket.h"
 | 
					#include "wx/socket.h"
 | 
				
			||||||
#include "wx/sckstrm.h"
 | 
					#include "wx/sckstrm.h"
 | 
				
			||||||
#include "wx/thread.h"
 | 
					#include "wx/thread.h"
 | 
				
			||||||
@@ -158,12 +157,12 @@ socketStream::socketStream()
 | 
				
			|||||||
    m_writeThread =
 | 
					    m_writeThread =
 | 
				
			||||||
    m_readThread = NULL;
 | 
					    m_readThread = NULL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    GSocket_Init();
 | 
					    wxSocketBase::Initialize();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
socketStream::~socketStream()
 | 
					socketStream::~socketStream()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    GSocket_Cleanup();
 | 
					    wxSocketBase::Shutdown();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void socketStream::setUp()
 | 
					void socketStream::setUp()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user