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
This commit is contained in:
parent
1a83b9bd10
commit
f938a756a1
@ -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() ?
|
||||
|
Loading…
Reference in New Issue
Block a user