s/wxSplitPath/wxFileName::SplitPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user