]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
even more fixes detected using ifacecheck
[wxWidgets.git] / src / common / docview.cpp
index 4d2d3c49e89968f6e1971d0e9b09d000b6f5975c..11f9b7b6737d9844605f29dcff5a7a4ac1d777fe 100644 (file)
@@ -112,7 +112,7 @@ wxWindow *wxFindSuitableParent()
 wxString FindExtension(const wxString& path)
 {
     wxString ext;
-    wxSplitPath(path, NULL, NULL, &ext);
+    wxFileName::SplitPath(path, NULL, NULL, &ext);
 
     // VZ: extensions are considered not case sensitive - is this really a good
     //     idea?
@@ -323,7 +323,7 @@ bool wxDocument::SaveAs()
 
     wxString fileName(tmp);
     wxString path, name, ext;
-    wxSplitPath(fileName, & path, & name, & ext);
+    wxFileName::SplitPath(fileName, & path, & name, & ext);
 
     if (ext.empty())
     {