X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..5267aefd85739afd26bd19bfba998005119db446:/interface/wx/dir.h diff --git a/interface/wx/dir.h b/interface/wx/dir.h index 82b40531ca..cae45e337b 100644 --- a/interface/wx/dir.h +++ b/interface/wx/dir.h @@ -18,7 +18,6 @@ enum wxDirTraverseResult /** @class wxDirTraverser - @wxheader{dir.h} wxDirTraverser is an abstract interface which must be implemented by objects passed to wxDir::Traverse() function. @@ -69,7 +68,7 @@ public: This is a pure virtual function and must be implemented in the derived class. */ - virtual wxDirTraverseResult OnDir(const wxString& dirname); + virtual wxDirTraverseResult OnDir(const wxString& dirname) = 0; /** This function is called for each file. It may return ::wxDIR_STOP to @@ -79,7 +78,7 @@ public: This is a pure virtual function and must be implemented in the derived class. */ - virtual wxDirTraverseResult OnFile(const wxString& filename); + virtual wxDirTraverseResult OnFile(const wxString& filename) = 0; /** This function is called for each directory which we failed to open for @@ -110,7 +109,6 @@ enum /** @class wxDir - @wxheader{dir.h} wxDir is a portable equivalent of Unix open/read/closedir functions which allow enumerating of the files in a directory. wxDir allows to enumerate @@ -287,6 +285,6 @@ public: */ size_t Traverse(wxDirTraverser& sink, const wxString& filespec = wxEmptyString, - int flags = wxDIR_DEFAULT); + int flags = wxDIR_DEFAULT) const; };