]> git.saurik.com Git - wxWidgets.git/commitdiff
ProcessPlatformProperty should not be a member of wxXmlResource
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 23 Aug 2001 18:57:19 +0000 (18:57 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 23 Aug 2001 18:57:19 +0000 (18:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/include/wx/xrc/xmlres.h
contrib/src/xrc/xmlres.cpp
include/wx/xrc/xmlres.h
src/xrc/xmlres.cpp

index 143664514bf5572272fda67e6a5a77737fd48448..01832ae8cd8f144260b9e314a7c0a30b846c2688 100644 (file)
@@ -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:
index 79d0ef314af365f89cbaca41a40e3db9756708a4..c5f7a8c8ed6fb771fcef1ca12d902ad66349c401 100644 (file)
@@ -210,7 +210,7 @@ bool wxXmlResource::AttachUnknownControl(const wxString& name,
 }
 
 
-void wxXmlResource::ProcessPlatformProperty(wxXmlNode *node)
+static void ProcessPlatformProperty(wxXmlNode *node)
 {
     wxString s;
     bool isok;
index 143664514bf5572272fda67e6a5a77737fd48448..01832ae8cd8f144260b9e314a7c0a30b846c2688 100644 (file)
@@ -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:
index 79d0ef314af365f89cbaca41a40e3db9756708a4..c5f7a8c8ed6fb771fcef1ca12d902ad66349c401 100644 (file)
@@ -210,7 +210,7 @@ bool wxXmlResource::AttachUnknownControl(const wxString& name,
 }
 
 
-void wxXmlResource::ProcessPlatformProperty(wxXmlNode *node)
+static void ProcessPlatformProperty(wxXmlNode *node)
 {
     wxString s;
     bool isok;