X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b6fc577bd805bb31dddfa7e37f3139185090040..ae601e32a8877d7968fd4552ea7857be11a4d15c:/src/common/socket.cpp 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() ?