]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mimetype.cpp
correction to maintain data array in synch with string array
[wxWidgets.git] / src / msw / mimetype.cpp
index cdd77116e8c53f278992a1f0f2fe5f943f5671b2..869c78dac052f09c971abee98972dc71223f527d 100644 (file)
@@ -510,7 +510,7 @@ size_t wxMimeTypesManagerImpl::EnumAllFileTypes(wxArrayString& mimetypes)
 // create a new association
 // ----------------------------------------------------------------------------
 
-wxFileType *wxMimeTypesManager::Associate(const wxFileTypeInfo& ftInfo)
+wxFileType *wxMimeTypesManagerImpl::Associate(const wxFileTypeInfo& ftInfo)
 {
     wxCHECK_MSG( !ftInfo.GetExtensions().IsEmpty(), NULL,
                  _T("Associate() needs extension") );
@@ -583,7 +583,7 @@ wxFileType *wxMimeTypesManager::Associate(const wxFileTypeInfo& ftInfo)
         if ( ok )
         {
             // ok, we've created everything correctly
-            ft = m_impl->CreateFileType(filetype, extWithDot);
+            ft = CreateFileType(filetype, extWithDot);
         }
         else
         {