Rename wxFileSystemWatcherBase::DoAdd() to AddAny() and make it public.

Make this method public to fix compilation after the recent changes as
traverser classes can't call it otherwise (no idea why did it compile with
g++). And give it a better name just in case people decide to call it even
though it's not documented and described as private in comment (but perhaps we
could make it really public later).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-07-13 12:00:14 +00:00
parent 5c14ec2640
commit 3a2b37010c
3 changed files with 14 additions and 11 deletions

View File

@@ -431,7 +431,7 @@ wxMSWFileSystemWatcher::AddTree(const wxFileName& path,
return false;
}
return DoAdd(path, events, wxFSWPath_Tree);
return AddAny(path, events, wxFSWPath_Tree);
}
#endif // wxUSE_FSWATCHER