Don't watch directories recursively in wxMSW wxFileSystemWatcher.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 23:31:35 +0000 (23:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 23:31:35 +0000 (23:31 +0000)
commit4610ad4ecba2d0ad75bc96fb3b41b6e7f1e481c7
treead06fdb04c51bb1b90fe50cd7ff7725883e2e2ed
parent51fb8678192eaba41e4a446f092c0027d786bd05
Don't watch directories recursively in wxMSW wxFileSystemWatcher.

MSW implementation of this class always watched the added entries recursively,
i.e. always behaved as if the entry to watch was added using AddTree().

Fix this simply by not asking ::ReadDirectoryChangesW() to watch the entire
subtree.

See #12847.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/fswatcher.cpp