}
ft = m_MimeMng -> GetFileTypeFromExtension(ext);
- if (ft && (ft -> GetMimeType(&mime))) return mime;
- else return wxEmptyString;
+ if (ft && (ft -> GetMimeType(&mime))) {
+ delete ft;
+ return mime;
+ }
+ else {
+ delete ft;
+ return wxEmptyString;
+ }
}
}
-wxString wxFileSystemHandler::FindFirst(const wxString& spec, int flags) { return wxEmptyString; }
-
-wxString wxFileSystemHandler::FindNext() { return wxEmptyString; }
-
+wxString wxFileSystemHandler::FindFirst(const wxString& WXUNUSED(spec),
+ int WXUNUSED(flags))
+{
+ return wxEmptyString;
+}
+wxString wxFileSystemHandler::FindNext()
+{
+ return wxEmptyString;
+}
//--------------------------------------------------------------------------------
// wxLocalFSHandler