From f938a756a1c5944f7cc3ee6f2e51effbc06fd9c0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 17 Sep 2004 19:26:32 +0000 Subject: [PATCH] compilation fix for wxUSE_THREADS == 0 && __WXDEBUG__ (replaces patch 1025268) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 6bac25899d..1d31f58c63 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -133,7 +133,7 @@ bool wxSocketBase::Initialize() 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() ? -- 2.47.2