X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819559b2ac7d2250097ce0b1d9d443164752be09..43c5b6e808f083617eb42cb48e77366844f8fb5c:/src/xrc/xmlres.cpp diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index fc2fa3d3ce..075489d9e7 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -180,7 +180,11 @@ bool wxXmlResource::IsArchive(const wxString& filename) bool wxXmlResource::LoadFile(const wxFileName& file) { +#if wxUSE_FILESYSTEM return Load(wxFileSystem::FileNameToURL(file)); +#else + return Load(file.GetFullPath()); +#endif } bool wxXmlResource::LoadAllFiles(const wxString& dirname)