use wxFileName::MakeAbsolute istead of Normalize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-01-18 00:01:29 +00:00
parent 0894707e7c
commit 56acdfef2f
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ bool wxXmlResource::Load(const wxString& filemask)
wxFileName fn(fnd);
if (fn.IsRelative())
{
fn.Normalize(wxPATH_NORM_DOTS | wxPATH_NORM_ABSOLUTE);
fn.MakeAbsolute();
fnd = fn.GetFullPath();
}
}

View File

@ -112,7 +112,7 @@ bool wxXmlResource::Load(const wxString& filemask)
wxFileName fn(fnd);
if (fn.IsRelative())
{
fn.Normalize(wxPATH_NORM_DOTS | wxPATH_NORM_ABSOLUTE);
fn.MakeAbsolute();
fnd = fn.GetFullPath();
}
}