X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e408bf5257ead0754de5ef37a39867c7536dbe03..d58526d55433162cef8ad2ed7f422689862c3019:/src/msdos/utilsdos.cpp diff --git a/src/msdos/utilsdos.cpp b/src/msdos/utilsdos.cpp index 93d9b31006..d5c8a1a0fe 100644 --- a/src/msdos/utilsdos.cpp +++ b/src/msdos/utilsdos.cpp @@ -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 ) - wxSplitPath(prog, &strDir, NULL, NULL); + wxFileName::SplitPath(prog, &strDir, NULL, NULL); } if ( strDir.empty() ) {