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
{
// add the leading point if necessary
wxString str;
- if ( ext[0u] != wxT('.') ) {
+ if ( ext[(size_t) 0] != wxT('.') ) {
str = wxT('.');
}
str << ext;