Support monitoring only some events in wxGTK wxFileSystemWatcher.

Call inotify() with the appropriate flags instead of always using IN_ALL_EVENTS.

Closes #14832.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-11-15 22:24:22 +00:00
parent a386b9c614
commit b77bb705dd
3 changed files with 76 additions and 7 deletions

View File

@@ -68,6 +68,7 @@ public:
The name of the path to watch.
@param events
An optional filter to receive only events of particular types.
This is currently implemented only for GTK.
*/
virtual bool Add(const wxFileName& path, int events = wxFSW_EVENT_ALL);