]> git.saurik.com Git - wxWidgets.git/commit - samples/fswatcher/fswatcher.cpp
Implement watching directory correctly in MSW wxFileSystemWatcher.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 23:31:39 +0000 (23:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 23:31:39 +0000 (23:31 +0000)
commitf8d371481626e3856dbe9696b781f19f7141f1b0
tree9d560df1180432d9a966394cb48c63720248effa
parent4610ad4ecba2d0ad75bc96fb3b41b6e7f1e481c7
Implement watching directory correctly in MSW wxFileSystemWatcher.

The directories used to be always monitored recursively, even when this wasn't
requested, in wxMSW implementation. Change this but also implement efficient
support for monitoring the entire hierarchies using the native support for
this.

Also update the sample to allow monitoring directories recursively as well.

See #12847.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/fswatcher.h
include/wx/msw/fswatcher.h
samples/fswatcher/fswatcher.cpp
src/common/fswatchercmn.cpp
src/msw/fswatcher.cpp