Ticket #14543 (closed defect: fixed)
wxFileSystemWatcher: Fix watching directories that contain symlinks
|Reported by:||dghart||Owned by:|
This patch, together with the wxFileName and wxDir changes of #14542, makes it possible to add a watch on a dir that contains symlinks, without wxFileSystemWatcher asserting that items are being added twice. I've added a new flag, wxFSW_EVENT_DONT_FOLLOW, to the Add() filter. This is not part of wxFSW_EVENT_ALL, so the current default behaviour is unchanged.
I've added a menuitem to the 'fswatcher' sample optionally to set this, and a section to the FileSystemWatcherTestCase.