got rid of wxXmlResourceHandler::CheckPlatform, the check is now done while loading xml file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-08-05 21:25:07 +00:00
parent 27316302a4
commit f737d3967f

View File

@@ -128,6 +128,10 @@ class WXDLLEXPORT wxXmlResource : public wxObject
// Creates resource from info in given node:
wxObject *CreateResFromNode(wxXmlNode *node, wxObject *parent, wxObject *instance = NULL);
// Remove nodes with property "platform" that does not
// match current platform
void ProcessPlatformProperty(wxXmlNode *node);
private:
wxList m_Handlers;
wxXmlResourceDataRecords m_Data;
@@ -190,10 +194,6 @@ class WXDLLEXPORT wxXmlResourceHandler : public wxObject
// resource from it, FALSE otherwise.
virtual bool CanHandle(wxXmlNode *node) = 0;
// Check "platform" property if it matches this platform
// that is, if this node 'exists' under this platform
static bool CheckPlatform(wxXmlNode *node);
void SetParentResource(wxXmlResource *res) { m_Resource = res; }