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

@@ -30,7 +30,7 @@
#include "wx/module.h"
#endif
#include "wx/private/socketevtdispatch.h"
#include "wx/private/selectdispatcher.h"
#include "wx/unix/private.h"
#include "wx/x11/private.h"
#include "X11/Xlib.h"
@@ -263,7 +263,7 @@ bool wxEventLoop::Dispatch()
#if wxUSE_SOCKETS
// handle any pending socket events:
wxSocketEventDispatcher::Get().RunLoop();
wxSelectDispatcher::Get().RunLoop(0);
#endif
(void) m_impl->ProcessEvent( &event );