Add wxABI_VERSION > 20601 wrappers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-07-17 13:00:11 +00:00
parent 121aea4614
commit 0f8218d7ca
4 changed files with 15 additions and 0 deletions

View File

@@ -124,8 +124,10 @@ public:
// This method understands VFS (see filesys.h).
bool Load(const wxString& filemask);
#if wxABI_VERSION > 20601
// Unload resource from the given XML file (wildcards not allowed)
bool Unload(const wxString& filename);
#endif // wxABI_VERSION
// Initialize handlers for all supported controls/windows. This will
// make the executable quite big because it forces linking against
@@ -253,6 +255,7 @@ protected:
wxObject *instance = NULL,
wxXmlResourceHandler *handlerToUse = NULL);
#if wxABI_VERSION > 20601
// Helper of Load() and Unload(): returns the URL corresponding to the
// given file if it's indeed a file, otherwise returns the original string
// unmodified
@@ -264,6 +267,8 @@ protected:
static bool IsArchive(const wxString& filename);
#endif // wxUSE_FILESYSTEM
#endif // wxABI_VERSION
private:
long m_version;