X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4372af60a7eed11d0deea8db2c7d0fdd75d2b76..e5f741e5d467b1ce7105be96e9f3dcb553e8b89d:/src/os2/mimetype.cpp diff --git a/src/os2/mimetype.cpp b/src/os2/mimetype.cpp index 28ba45db1f..623d4f0644 100644 --- a/src/os2/mimetype.cpp +++ b/src/os2/mimetype.cpp @@ -229,6 +229,20 @@ bool wxFileTypeImpl::GetMimeType(wxString *mimeType) const return FALSE; } +bool wxFileTypeImpl::GetMimeTypes(wxArrayString& mimeTypes) const +{ + wxString s; + + if (GetMimeType(&s)) + { + mimeTypes.Clear(); + mimeTypes.Add(s); + return TRUE; + } + else + return FALSE; +} + bool wxFileTypeImpl::GetIcon(wxIcon *icon) const { #if wxUSE_GUI