-// 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();
-#else
- wxFAIL_MSG(_T("not implemented"));
-
- return FALSE;
-#endif
-}
-
-bool wxFileType::Unassociate()
-{
- bool result = TRUE;
- if ( !RemoveOpenCommand() )
- result = FALSE;
- if ( !RemoveDefaultIcon() )
- result = FALSE;
- if ( !RemoveMimeType() )
- result = FALSE;
-
- // in MSW this leaves a HKCR.xzy key
- return result;
-}