]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxFileName::MakeAbsolute istead of Normalize
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 18 Jan 2003 00:01:29 +0000 (00:01 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 18 Jan 2003 00:01:29 +0000 (00:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/xrc/xmlres.cpp
src/xrc/xmlres.cpp

index 94d4be28422a9e610a3d967ac661f86b8fe11733..5fe121106654b7eba5411393ce0060b4e0be4b86 100644 (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();
             }
         }
index 94d4be28422a9e610a3d967ac661f86b8fe11733..5fe121106654b7eba5411393ce0060b4e0be4b86 100644 (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();
             }
         }