X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd08f2f766a33014b8d60fbf27f0f41026d7abf7..2d46f281a5d4ea06c420a46748cc1b2a7b2af3cb:/include/wx/dir.h diff --git a/include/wx/dir.h b/include/wx/dir.h index e41495513d..9a73c6644e 100644 --- a/include/wx/dir.h +++ b/include/wx/dir.h @@ -63,7 +63,7 @@ public: virtual wxDirTraverseResult OnDir(const wxString& dirname) = 0; // called for each directory which we couldn't open during our traversal - // of the directory tyree + // of the directory tree // // this method can also return either wxDIR_STOP, wxDIR_IGNORE or // wxDIR_CONTINUE but the latter is treated specially: it means to retry @@ -95,7 +95,7 @@ public: // opens the directory for enumeration, use IsOpened() to test success wxDir(const wxString& dir); - // dtor cleans up the associated ressources + // dtor cleans up the associated resources ~wxDir(); // open the directory for enumerating @@ -120,10 +120,10 @@ public: bool GetNext(wxString *filename) const; // return true if this directory has any files in it - bool HasFiles(const wxString& spec = wxEmptyString); + bool HasFiles(const wxString& spec = wxEmptyString) const; // return true if this directory has any subdirectories - bool HasSubDirs(const wxString& spec = wxEmptyString); + bool HasSubDirs(const wxString& spec = wxEmptyString) const; // enumerate all files in this directory and its subdirectories //