X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba1e9d6cede4073faf42e3e290a030965a2205c3..49f1dc5e8a15653df6e4ca8144e4c22a9fb5e168:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index eb714186e3..7c825eda5f 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -39,8 +39,6 @@ #if defined(__VISUALC__) || ( defined(__MWERKS__) && defined( __INTEL__) ) typedef _off_t off_t; -#elif defined(__BORLANDC__) && defined(__WIN16__) - typedef long off_t; #elif defined(__SYMANTEC__) typedef long off_t; #elif defined(__MWERKS__) && !defined(__INTEL__) && !defined(__MACH__) @@ -355,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 // ----------------------------------------------------------------------------