]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
made wxStringInputStream::GetSize() public instead of protected
[wxWidgets.git] / src / common / socket.cpp
index 6bac25899db7ba82e4a9e62c2f88ee16f3c7cf09..1d31f58c63741be9bce38cdf471dd156affa7367 100644 (file)
@@ -133,7 +133,7 @@ bool wxSocketBase::Initialize()
             on a semaphore (a bad idea in any case) or socket operations
             will time out.
         */
             on a semaphore (a bad idea in any case) or socket operations
             will time out.
         */
-        wxASSERT_MSG( wxThread::IsMain(),
+        wxASSERT_MSG( wxIsMainThread(),
             wxT("Call wxSocketBase::Initialize() from the main thread first!"));
 
         wxAppTraits *traits = wxAppConsole::GetInstance() ?
             wxT("Call wxSocketBase::Initialize() from the main thread first!"));
 
         wxAppTraits *traits = wxAppConsole::GetInstance() ?