-#ifdef __WXMSW__
- /*
- The following asserting might be neccessary for linux as well,
- but I cannot verify this.
- */
- wxASSERT(wxThread::IsMain(),
- wxT("To use sockets in a secondary thread, ")
- wxT("call wxSocketBase::Initialize() from the main thread."));