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:
Václav Slavík
2009-02-26 00:17:23 +00:00
parent acd32ffcdb
commit 04ae32cdab
3 changed files with 27 additions and 2 deletions

View File

@@ -109,9 +109,12 @@ public:
virtual ~wxXmlResource();
// Loads resources from XML files that match given filemask.
// This method understands VFS (see filesys.h).
// This method understands wxFileSystem URLs if wxUSE_FILESYS.
bool Load(const wxString& filemask);
// Loads resources from single XRC file.
bool LoadFile(const wxFileName& file);
// Unload resource from the given XML file (wildcards not allowed)
bool Unload(const wxString& filename);