wxWidgets/include/wx/private
Vadim Zeitlin 5cd9986613 Refactor wxEventLoopSource-related code.
Currently wxEventLoopSource can't be created directly and can only be used to
monitor file descriptors so reduce the API to just wxEventLoop::AddSourceForFD()
and remove AddSource(), RemoveSource() and RemoveAllSources() which couldn't
be implemented for all ports. This makes the code much simpler without any
loss of functionality.

Make wxEventLoopSource responsible for removing itself from the event loop
when it is deleted. This allows to remove IsOk() and Invalidate() methods
making the code simpler and gets rid of various sets/maps which were used
before.

This also allows to support event loop sources in Carbon as well: wxOSX/Carbon
now compiles and works with wxUSE_FSWATCHER==1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 11:36:35 +00:00
..
fd.h move more socket functions common to Winsock and BSD implementations to common code 2008-11-23 13:30:42 +00:00
fdiodispatcher.h Extract wxFDIOHandler in its own header. 2009-08-17 23:02:29 +00:00
fdiohandler.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
fdiomanager.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
fileback.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
filename.h
flagscheck.h fix for IBM xlC 8, it can't parse the template syntax 2009-02-19 05:34:25 +00:00
fontmgr.h Removed wxFont::Set/GetNoAntiAliasing() implementations. 2009-10-09 13:04:59 +00:00
fswatcher.h Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
graphics.h a few more int/wxPolygonFillMode substitutions in wxRegion and wxGraphicsContext code 2009-01-08 16:43:56 +00:00
overlay.h fixing file paths after renaming 2008-06-11 19:17:41 +00:00
sckaddr.h compilation fix for Windows after the last change (misplaced #endif) 2009-05-09 17:25:27 +00:00
selectdispatcher.h added wxFDIODispatcher::HasPending() and implemented correctly wxConsoleEventLoop::Pending() using it to fix the pending events processing in console event loop based programs; also changed wxFDIODispatcher::Dispatch() return type/value to be able to indicate the errors 2009-01-03 01:21:24 +00:00
socket.h Virtualize wxSocketImpl creation by routing it via wxSocketManager. 2009-08-16 23:13:45 +00:00
stattext.h extracted wxTextWrapper in its own header and made it public 2009-05-31 20:12:07 +00:00
threadinfo.h Make wxLog::EnableLogging() and wxLogNull thread-specific. 2009-07-13 13:21:52 +00:00
timer.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
wxprintf.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00