]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mimetype.cpp
rename ARRAYSIZE to CELLSARRAYSIZE to avoid conflict with a macro with the same name...
[wxWidgets.git] / src / msw / mimetype.cpp
index e10c79bd5171871e38fdd8387be381affe537487..a7d29114c96519a84e8bfbe9be04b28d86840bc2 100644 (file)
@@ -733,7 +733,7 @@ bool wxFileTypeImpl::SetMimeType(const wxString& mimeTypeOrig)
     {
         // make up a default value for it
         wxString cmd;
-        wxSplitPath(GetCommand(_T("open")), NULL, &cmd, NULL);
+        wxFileName::SplitPath(GetCommand(_T("open")), NULL, &cmd, NULL);
         mimeType << _T("application/x-") << cmd;
     }
     else