From 77b2f9b185e5643c009c8a294ee9819d3950c423 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 23 Aug 2001 18:57:19 +0000 Subject: [PATCH] ProcessPlatformProperty should not be a member of wxXmlResource git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/xrc/xmlres.h | 4 ---- contrib/src/xrc/xmlres.cpp | 2 +- include/wx/xrc/xmlres.h | 4 ---- src/xrc/xmlres.cpp | 2 +- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/contrib/include/wx/xrc/xmlres.h b/contrib/include/wx/xrc/xmlres.h index 143664514b..01832ae8cd 100644 --- a/contrib/include/wx/xrc/xmlres.h +++ b/contrib/include/wx/xrc/xmlres.h @@ -176,10 +176,6 @@ protected: // 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); - bool GetUseLocale() { return m_useLocale; } private: diff --git a/contrib/src/xrc/xmlres.cpp b/contrib/src/xrc/xmlres.cpp index 79d0ef314a..c5f7a8c8ed 100644 --- a/contrib/src/xrc/xmlres.cpp +++ b/contrib/src/xrc/xmlres.cpp @@ -210,7 +210,7 @@ bool wxXmlResource::AttachUnknownControl(const wxString& name, } -void wxXmlResource::ProcessPlatformProperty(wxXmlNode *node) +static void ProcessPlatformProperty(wxXmlNode *node) { wxString s; bool isok; diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 143664514b..01832ae8cd 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -176,10 +176,6 @@ protected: // 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); - bool GetUseLocale() { return m_useLocale; } private: diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index 79d0ef314a..c5f7a8c8ed 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -210,7 +210,7 @@ bool wxXmlResource::AttachUnknownControl(const wxString& name, } -void wxXmlResource::ProcessPlatformProperty(wxXmlNode *node) +static void ProcessPlatformProperty(wxXmlNode *node) { wxString s; bool isok; -- 2.45.2