From a957d29f8c17279b7a9baf742c41d108267e8d6c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 6 Apr 2021 22:19:03 +0200 Subject: [PATCH] Mention wxDIR_HIDDEN in GetAllFiles() documentation It may not be obvious that hidden files are not returned without it. --- interface/wx/dir.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interface/wx/dir.h b/interface/wx/dir.h index 577fda1ee1..977c57bf01 100644 --- a/interface/wx/dir.h +++ b/interface/wx/dir.h @@ -226,8 +226,10 @@ public: /** The function appends the names of all the files under directory @a dirname to the array @a files (note that its old content is - preserved). Only files matching the @a filespec are taken, with empty - spec matching all the files. + preserved). + + Only files matching the @a filespec are taken, with empty spec matching + all non-hidden files (use ::wxDIR_HIDDEN to include them too). The @a flags parameter should always include ::wxDIR_FILES or the array would be unchanged and should include ::wxDIR_DIRS flag to recurse into