]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mimecmn.cpp
updates from Adrián González Alba
[wxWidgets.git] / src / common / mimecmn.cpp
index 680d57fc28843f735cde1ab9f715634d45022352..43de8ee906d7e67c88d9edda872b194b426eb35f 100644 (file)
@@ -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