]> git.saurik.com Git - wxWidgets.git/commit
Fix wxFileSystemWatcher::Remove() in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 23:31:29 +0000 (23:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 23:31:29 +0000 (23:31 +0000)
commit51fb8678192eaba41e4a446f092c0027d786bd05
treec72143e3ebd2b37c0a4186ecbf061e90cabdee7b
parent17e23c0cb92c591e6f0dfd334bfe7b0085526b5e
Fix wxFileSystemWatcher::Remove() in wxMSW.

Removing the path watched by wxFileSystemWatcher didn't do anything in wxMSW
implementation so we still continued getting events for the changes to this
path even after calling Remove().

Fix this by really implementing Remove() properly. Also add a unit test
checking that we don't get any events after calling Remove().

See #12847.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/private/fswatcher.h
src/msw/fswatcher.cpp
tests/fswatcher/fswatchertest.cpp