]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
centralized the handling of border styles; added borders support for wxListBox and...
[wxWidgets.git] / src / common / socket.cpp
index 8e87adb874b6f2ef0f66b4db40d965b390c55373..65fb93a2b397df19bbf2cb660945753a7ba53d0f 100644 (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.
   //