]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
applying patch, fixes #10523
[wxWidgets.git] / src / xrc / xmlres.cpp
index b8d8b356012b2e6a0242a38b367d996aabe1f886..115f3461e51176295b8de89eec62c607b140f715 100644 (file)
@@ -178,6 +178,11 @@ bool wxXmlResource::IsArchive(const wxString& filename)
 
 #endif // wxUSE_FILESYSTEM
 
+bool wxXmlResource::LoadFile(const wxFileName& file)
+{
+    return Load(wxFileSystem::FileNameToURL(file));
+}
+
 bool wxXmlResource::Load(const wxString& filemask_)
 {
     wxString filemask = ConvertFileNameToURL(filemask_);