X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b986aef6e3bab5335f2e29ecffd14d7ec839d25..b12915c104de03c9fd5102404e35051e9b8609a8:/include/wx/mimetype.h diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index 6182c2b9d6..ca17706d16 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -190,11 +190,10 @@ public: // read in additional file in mime.types format bool ReadMimeTypes(const wxString& filename); - // enumerate all known file types: the caller is responsible for freeing - // both the array and its elements! The previous value of filetypes is lost + // enumerate all known MIME types // // returns the number of retrieved file types - size_t EnumAllFileTypes(wxFileType **filetypes); + size_t EnumAllFileTypes(wxArrayString& mimetypes); // these functions can be used to provide default values for some of the // MIME types inside the program itself (you may also use