]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
Now scaling doesn't scale GetTextExtent() anymore. This
[wxWidgets.git] / 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();
             }
         }