X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fb0a11d3a06bb86eee92d71dffaf71918437c8c..a3669332df65cfae18e7540a267bc3400a64aa09:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 8e87adb874..65fb93a2b3 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -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. //