]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/mimetype.cpp
AddBook ignores wxMac paths (still won't work)
[wxWidgets.git] / src / unix / mimetype.cpp
index 2332dc12ac3d429811247d8fbd8eb6e11012e5cb..6693d5bd8887f1c012d43e8d8c60ee3ba6f9e90b 100644 (file)
@@ -2531,11 +2531,11 @@ bool wxMimeTypesManagerImpl::Unassociate(wxFileType *ft)
         else
         {
             WriteMimeInfo(nIndex, TRUE );
-            m_aTypes.Remove (nIndex);
-            m_aEntries.Remove (nIndex);
-            m_aExtensions.Remove (nIndex);
-            m_aDescriptions.Remove (nIndex);
-            m_aIcons.Remove (nIndex);
+            m_aTypes.RemoveAt(nIndex);
+            m_aEntries.RemoveAt(nIndex);
+            m_aExtensions.RemoveAt(nIndex);
+            m_aDescriptions.RemoveAt(nIndex);
+            m_aIcons.RemoveAt(nIndex);
         }
     }
     // check data integrity