X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9ff0f91fbddae88286567cab74dcfb59c91fc0f..253293c10326afa0226932eab4753d188e1e22e2:/include/wx/dir.h diff --git a/include/wx/dir.h b/include/wx/dir.h index 4c8a2368cb..43dddce642 100644 --- a/include/wx/dir.h +++ b/include/wx/dir.h @@ -107,12 +107,10 @@ public: bool GetNext(wxString *filename) const; // return true if this directory has any files in it - bool HasFiles(const wxString& spec = wxEmptyString) - { wxString s; return GetFirst(&s, spec, wxDIR_FILES | wxDIR_HIDDEN); } + bool HasFiles(const wxString& spec = wxEmptyString); // return true if this directory has any subdirectories - bool HasSubDirs(const wxString& spec = wxEmptyString) - { wxString s; return GetFirst(&s, spec, wxDIR_DIRS | wxDIR_HIDDEN); } + bool HasSubDirs(const wxString& spec = wxEmptyString); // enumerate all files in this directory and its subdirectories //