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.
Change History (28)
comment:5 follow-up: ↓ 13 Changed 2 years ago by vadz
- Keywords work-needed added
- Milestone 2.9.5 deleted