wxWidgets/samples
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
..
access Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
animate Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
artprov Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
aui Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
calendar Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
caret Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
clipboard Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
collpane Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
combo Removed wxTE_READONLY style from multi-line wxTextCtrls in combo and propgrid samples (looks a bit better that way on wxMSW) 2009-10-13 14:34:47 +00:00
config Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
console Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
controls Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
dataview Add ellipsization support to wxDataViewCtrl. 2009-10-16 21:35:26 +00:00
debugrpt OpenVMS : add compile support for debugrpt sample 2009-10-08 10:59:33 +00:00
dialogs Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
dialup Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
display Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
dnd Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
docview Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
dragimag add more samples to the compile cascade for OpenVMS 2009-10-12 06:50:59 +00:00
drawing Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
erase add more samples to the compile cascade for OpenVMS 2009-10-12 06:50:59 +00:00
event add more samples to the compile cascade for OpenVMS 2009-10-12 06:50:59 +00:00
except Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
exec Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
flash Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
font Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
fswatcher Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
grid Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
help Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
htlbox Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
html Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
image Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
internat Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
ipc Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
joytest Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
keyboard Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
layout Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
listctrl Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
mdi Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
mediaplayer Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
memcheck Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
menu Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
mfc Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
minimal Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
nativdlg Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
notebook Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
oleauto Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
opengl Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
ownerdrw Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
popup Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
power Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
printing Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
propgrid Added wxPGCell::SetFont() and GetFont(); Documented wxPGCell class. 2009-10-15 14:41:00 +00:00
regtest Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
render Document wxRendererNative::DrawTitleBarBitmap() and use it properly. 2009-10-19 08:59:25 +00:00
ribbon Remove unwanted solution files from the repository. 2009-10-22 09:40:42 +00:00
richtext Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
sashtest Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
scroll Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
shaped Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
sockets Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
sound Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
splash Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
splitter Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
statbar Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
stc Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
svg Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
taborder Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
taskbar Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
text Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
thread Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
toolbar Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
treectrl Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
typetest Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
validate Replace wxValidator::SetBellOnError() with SuppressBellOnError(). 2009-10-15 14:44:22 +00:00
vscroll Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
widgets Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
wizard Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
wrapsizer Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
xrc Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
Info.plist removed minimal-specific Info.plist; updated the version in the generic one 2007-03-18 11:54:18 +00:00
makefile.bcc Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
makefile.gcc Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
Makefile.in use hand-written samples/Makefile.in 2003-08-07 13:10:04 +00:00
makefile.vc Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
makefile.wat Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
sample.ico added common (for all samples) .ico/.r/.rc files 2003-08-06 12:27:23 +00:00
sample.r making proper resource-fork apps 2007-05-05 17:22:09 +00:00
sample.rc added wxUSE_NO_MANIFEST=0 for easier testing 2003-08-14 14:08:53 +00:00
sample.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
samples.bkl Add ribbon sample to the list of samples to build. 2009-09-16 23:18:55 +00:00
samples.dsw Add ribbon sample to the list of samples to build. 2009-09-16 23:18:55 +00:00