-// now do remove functions
-bool wxFileType::RemoveOpenCommand()
-{
- return RemoveCommand(_T("open"));
-}
-
-bool wxFileType::RemoveCommand(const wxString& verb)
-{
-#ifdef __WXMSW__
- return m_impl->RemoveCommand(verb);
-#else
- wxFAIL_MSG(_T("not implemented"));
-
- return FALSE;
-#endif
-}
-
-bool wxFileType::RemoveMimeType()
-{
-#ifdef __WXMSW__
- return m_impl->RemoveMimeType ();
-#else
- wxFAIL_MSG(_T("not implemented"));
-
- return FALSE;
-#endif
-}
-
-bool wxFileType::RemoveDefaultIcon()
-{
-#ifdef __WXMSW__
- return m_impl->RemoveDefaultIcon();
+#if defined (__WXMSW__) || defined(__UNIX__)
+ return m_impl->SetDefaultIcon (cmd, index);