Fix GetTraits() check for event loop in wxSocketBase::_Wait() [ bug 1460607 ] [ patch by Angel / elkry ]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Hock
2006-03-30 15:29:22 +00:00
parent 3603a3895e
commit 3c57bda545

View File

@@ -693,7 +693,7 @@ bool wxSocketBase::_Wait(long seconds,
else
timeout = m_timeout * 1000;
bool has_event_loop = wxTheApp ? (wxTheApp->GetTraits() ? true : false) : false;
bool has_event_loop = wxTheApp->GetTraits() ? (wxTheApp->GetTraits()->GetSocketGUIFunctionsTable() ? true : false) : false;
// Wait in an active polling loop.
//