From 3c57bda5451d31315de797a285b9547693143316 Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Thu, 30 Mar 2006 15:29:22 +0000 Subject: [PATCH] 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 --- src/common/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. // -- 2.50.0