X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5438a5665e35ee6286c5af73747873df9daed252..405d8f465740a78d2d19a2b108ac8fd65ff1a5e2:/src/common/mimecmn.cpp diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index 8a16ced893..6ee6a7a7fa 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -474,7 +474,7 @@ wxMimeTypesManager::~wxMimeTypesManager() bool wxMimeTypesManager::Unassociate(wxFileType *ft) { -#if defined(__UNIX__) && !defined(__WXPM__) +#if defined(__UNIX__) && !defined(__WXPM__) && !defined(__CYGWIN__) return m_impl->Unassociate(ft); #else return ft->Unassociate(); @@ -584,7 +584,7 @@ size_t wxMimeTypesManager::EnumAllFileTypes(wxArrayString& mimetypes) void wxMimeTypesManager::Initialize(int mcapStyle, const wxString& sExtraDir) { -#if defined(__UNIX__) && !defined(__WXPM__) +#if defined(__UNIX__) && !defined(__WXPM__) && !defined(__CYGWIN__) EnsureImpl(); m_impl->Initialize(mcapStyle, sExtraDir); @@ -597,7 +597,7 @@ void wxMimeTypesManager::Initialize(int mcapStyle, // and this function clears all the data from the manager void wxMimeTypesManager::ClearData() { -#if defined(__UNIX__) && !defined(__WXPM__) +#if defined(__UNIX__) && !defined(__WXPM__) && !defined(__CYGWIN__) EnsureImpl(); m_impl->ClearData();