X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a893b65e6282e4b96126b3fd22eeab43d446be4b..6d7b547184bfdcdf67790755deb0122050b1d728:/src/common/mimecmn.cpp diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index 680d57fc28..43de8ee906 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -527,6 +527,8 @@ wxMimeTypesManager::~wxMimeTypesManager() bool wxMimeTypesManager::Unassociate(wxFileType *ft) { + EnsureImpl(); + #if defined(__UNIX__) && !defined(__CYGWIN__) && !defined(__WINE__) return m_impl->Unassociate(ft); #else