Hello,
I need to call wxDir::GetAllFiles for multiple filespec criterias, I thought about calling it multiple times for each filespec criteria since from the documentation it preserves the old content of wxArrayString * files, but this will imply performance issues, because the traversal will be repeated multiple times.
What I want to do is to combine all the file specs into one string using a char separator like '|' for example "*.exe|*.dll|*.ocx" or simply an overload with a const wxArrayString& filespecs.
Is this a missing feature! or I am missing something?
TIA.
How to wxDir::GetAllFiles for multiple filespec criterias! Topic is solved
Re: How to wxDir::GetAllFiles for multiple filespec criterias!
Filespecs with multiple extensions are not supported. You'll have to write your own wxDirTraverser, but this is not hard.
https://docs.wxwidgets.org/trunk/classw ... erser.html
https://docs.wxwidgets.org/trunk/classw ... erser.html
Use the source, Luke!