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;