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:
Vadim Zeitlin
2007-03-16 15:45:12 +00:00
parent 7058b79442
commit 30c45bdd06
9 changed files with 590 additions and 77 deletions

View File

@@ -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
}