]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/fswatcher.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / msw / fswatcher.h
index 761e186b1edd472c8244f39001f135830b6ad647..005b35b25b73c05e717c0117e7ea00496daccee6 100644 (file)
@@ -23,6 +23,12 @@ public:
     wxMSWFileSystemWatcher(const wxFileName& path,
                            int events = wxFSW_EVENT_ALL);
 
+    // Override the base class function to provide a much more efficient
+    // implementation for it using the platform native support for watching the
+    // entire directory trees.
+    virtual bool AddTree(const wxFileName& path, int events = wxFSW_EVENT_ALL,
+                         const wxString& filter = wxEmptyString);
+
 protected:
     bool Init();
 };