+#else
+ if ( ext.IsSameAs(wxT("htm"), FALSE) || ext.IsSameAs(_T("html"), FALSE) )
+ return wxT("text/html");
+ if ( ext.IsSameAs(wxT("jpg"), FALSE) || ext.IsSameAs(_T("jpeg"), FALSE) )
+ return wxT("image/jpeg");
+ if ( ext.IsSameAs(wxT("gif"), FALSE) )
+ return wxT("image/gif");
+ if ( ext.IsSameAs(wxT("png"), FALSE) )
+ return wxT("image/png");
+ if ( ext.IsSameAs(wxT("bmp"), FALSE) )
+ return wxT("image/bmp");
+ return wxEmptyString;
+#endif