#include "wx/dynarray.h"
#include "wx/confbase.h"
+#if wxUSE_FILE
+
#include "wx/os2/mimetype.h"
// other standard headers
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
return 0;
}
+#endif //wxUSE_FILE