added wxXmlResource::LoadFile() to avoid URL-vs-filename ambiguity in Load()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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_);
|
||||
|
Reference in New Issue
Block a user