X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd08f2f766a33014b8d60fbf27f0f41026d7abf7..bec76e18352b3b0a94b0b54c8d66159722651e8b:/src/common/dircmn.cpp diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index 30e47dd782..6154cb60a1 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -55,7 +55,7 @@ wxDirTraverser::OnOpenError(const wxString& WXUNUSED(dirname)) // dumb generic implementation -bool wxDir::HasFiles(const wxString& spec) +bool wxDir::HasFiles(const wxString& spec) const { wxString s; return GetFirst(&s, spec, wxDIR_FILES | wxDIR_HIDDEN); @@ -64,7 +64,7 @@ bool wxDir::HasFiles(const wxString& spec) // we have a (much) faster version for Unix #if (defined(__CYGWIN__) && defined(__WINDOWS__)) || !defined(__UNIX_LIKE__) || defined(__WXMAC__) || defined(__EMX__) || defined(__WINE__) -bool wxDir::HasSubDirs(const wxString& spec) +bool wxDir::HasSubDirs(const wxString& spec) const { wxString s; return GetFirst(&s, spec, wxDIR_DIRS | wxDIR_HIDDEN);