git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19837
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (fnd.Lower().Matches(wxT("*.zip")) ||
fnd.Lower().Matches(wxT("*.xrs")))
{
- rt = rt && Load(fnd + wxT("#zip:*.xrc"));
+ wxString url(wxFileSystem::FileNameToURL(fnd));
+ rt = rt && Load(url + wxT("#zip:*.xrc"));
}
else
#endif
Checking in xmlres.cpp;
/pack/cvsroots/wxwindows/wxWindows/contrib/src/xrc/xmlres.cpp,v <-- xmlres.cpp
new revision: 1.27; previous revision: 1.26
+done
+
+(also revision 1.30->1.31 of xmlres.cpp !!!)
+
Checking in xmlres.h;
/pack/cvsroots/wxwindows/wxWindows/contrib/include/wx/xrc/xmlres.h,v <-- xmlres.h
new revision: 1.22; previous revision: 1.21
if (fnd.Lower().Matches(wxT("*.zip")) ||
fnd.Lower().Matches(wxT("*.xrs")))
{
- rt = rt && Load(fnd + wxT("#zip:*.xrc"));
+ wxString url(wxFileSystem::FileNameToURL(fnd));
+ rt = rt && Load(url + wxT("#zip:*.xrc"));
}
else
#endif