fixed wxXRC compilation with --disable-filesystem (bug #10580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user