On Tue, 6 Apr 2021 10:22:12 -0700 (PDT) Kevin McCarty wrote:
KM> The following code behaves differently on Linux (wxGTK) versus Windows
KM> (wxMSW) --
KM> wxString srcDir = ...;
KM> wxArrayString files;
KM> wxDir::GetAllFiles(srcDir, &files, "", wxDIR_FILES);
KM> If there are any dot-files (".foo" or ".vimrc" or similar) in srcDir, wxMSW
KM> picks them up but wxGTK does not. Is this discrepancy intentional? If so,
KM> what is the recommended way to pick up the dot files as well on Linux, too?
You need to add wxDIR_HIDDEN to the flags.
TT-Solutions: wxWidgets consultancy and technical support