- /// Gets a wildcard incorporating all visible handlers
- static wxString GetExtWildcard(bool combine = false, bool save = false);
+ /// Gets a wildcard incorporating all visible handlers. If 'types' is present,
+ /// will be filled with the file type corresponding to each filter. This can be
+ /// used to determine the type to pass to LoadFile given a selected filter.
+ static wxString GetExtWildcard(bool combine = false, bool save = false, wxArrayInt* types = NULL);