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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user