]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msdos/utilsdos.cpp
Fixed bug: wxPropertyGridInterface::SetPropertyReadOnly() with wxPG_DONT_RECURSE...
[wxWidgets.git] / src / msdos / utilsdos.cpp
index 93d9b31006c9c4ea5dcb0a5ff0e5203defb09568..d5c8a1a0fe2cb0357431f3f69dcd48b76d27b802 100644 (file)
@@ -200,7 +200,7 @@ const wxChar* wxGetHomeDir(wxString *home)
 #endif
             // it needs to be a full path to be usable
             if ( prog.compare(1, 2, _T(":\\")) == 0 )
 #endif
             // it needs to be a full path to be usable
             if ( prog.compare(1, 2, _T(":\\")) == 0 )
-                wxSplitPath(prog, &strDir, NULL, NULL);
+                wxFileName::SplitPath(prog, &strDir, NULL, NULL);
         }
         if ( strDir.empty() )
         {
         }
         if ( strDir.empty() )
         {