X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a5bcc4db0851bf8cd3063917511b0b17c7f9679..49f1dc5e8a15653df6e4ca8144e4c22a9fb5e168:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 65e3396aa0..7c825eda5f 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -353,6 +353,13 @@ WXDLLIMPEXP_BASE wxString wxGetOSDirectory(); // Get file modification time WXDLLIMPEXP_BASE time_t wxFileModificationTime(const wxString& filename); +// Parses the wildCard, returning the number of filters. +// Returns 0 if none or if there's a problem, +// The arrays will contain an equal number of items found before the error. +// wildCard is in the form: +// "All files (*)|*|Image Files (*.jpeg *.png)|*.jpg;*.png" +WXDLLIMPEXP_BASE int wxParseWildcard(const wxString& wildCard, wxArrayString& descriptions, wxArrayString& filters); + // ---------------------------------------------------------------------------- // classes // ----------------------------------------------------------------------------