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:
parent
0894707e7c
commit
56acdfef2f
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user