]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
Further corrections to bitmap and blit code.
[wxWidgets.git] / src / xrc / xmlres.cpp
index cd440746ffd4a5ea1b824bdcf737a7efe143b460..d795abd5094c580df9772d7e70314d5b405597e2 100644 (file)
@@ -124,8 +124,7 @@ bool wxXmlResource::Load(const wxString& filemask)
         if (fnd.Lower().Matches(wxT("*.zip")) ||
             fnd.Lower().Matches(wxT("*.xrs")))
         {
-            wxString url(wxFileSystem::FileNameToURL(fnd));
-            rt = rt && Load(url + wxT("#zip:*.xrc"));
+            rt = rt && Load(fnd + wxT("#zip:*.xrc"));
         }
         else
 #endif