refactoring: replace wxSocketDispatcher with more generic wxSelectDispatcher (patch 1618976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "wx/thread.h"
|
||||
#include "wx/timer.h"
|
||||
#include "wx/private/socketevtdispatch.h"
|
||||
#include "wx/private/selectdispatcher.h"
|
||||
#include "wx/dfb/private.h"
|
||||
#include "wx/nonownedwnd.h"
|
||||
|
||||
@@ -141,7 +141,7 @@ void wxEventLoop::OnNextIteration()
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
// handle any pending socket events:
|
||||
wxSocketEventDispatcher::Get().RunLoop();
|
||||
wxSelectDispatcher::Get().RunLoop(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user