From dd836f484101cec592ca9255b09384a03279820c Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Fri, 27 Jan 2017 17:36:10 -0500 Subject: [PATCH] Bug1567 Residual - Use wxDIR_HIDDEN in recursive delete. Added for consistency with log of remaining files. This change should clear up .DS_Store on Mac, and so help with 1567 residual issue when files are not deleted on exit. --- src/DirManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DirManager.cpp b/src/DirManager.cpp index 2a3a7f1a3..9cfa3bed6 100644 --- a/src/DirManager.cpp +++ b/src/DirManager.cpp @@ -163,7 +163,7 @@ static int RecursivelyEnumerate(wxString dirPath, wxString name; if (bFiles){ - cont= dir.GetFirst(&name, dirspec, wxDIR_FILES); + cont= dir.GetFirst(&name, dirspec, wxDIR_FILES | wxDIR_HIDDEN); while ( cont ){ wxString filepath = dirPath + wxFILE_SEP_PATH + name;