Virtualize wxXmlNode methods used by wxAuiToolBarXmlHandler.
This fixes the DLL build of aui library as it can now be linked without leaving any unresolved dependencies to the code in xml library (where wxXmlNode is implemented). Closes #15686. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2007,6 +2007,13 @@ bool wxXmlResourceHandlerImpl::IsOfClass(wxXmlNode *node, const wxString& classn
|
||||
}
|
||||
|
||||
|
||||
bool wxXmlResourceHandlerImpl::IsObjectNode(const wxXmlNode *node) const
|
||||
{
|
||||
return node &&
|
||||
node->GetType() == wxXML_ELEMENT_NODE &&
|
||||
(node->GetName() == wxS("object") ||
|
||||
node->GetName() == wxS("object_ref"));
|
||||
}
|
||||
|
||||
wxString wxXmlResourceHandlerImpl::GetNodeContent(const wxXmlNode *node)
|
||||
{
|
||||
@@ -2024,6 +2031,21 @@ wxString wxXmlResourceHandlerImpl::GetNodeContent(const wxXmlNode *node)
|
||||
return wxEmptyString;
|
||||
}
|
||||
|
||||
wxXmlNode *wxXmlResourceHandlerImpl::GetNodeParent(const wxXmlNode *node) const
|
||||
{
|
||||
return node ? node->GetParent() : NULL;
|
||||
}
|
||||
|
||||
wxXmlNode *wxXmlResourceHandlerImpl::GetNodeNext(const wxXmlNode *node) const
|
||||
{
|
||||
return node ? node->GetNext() : NULL;
|
||||
}
|
||||
|
||||
wxXmlNode *wxXmlResourceHandlerImpl::GetNodeChildren(const wxXmlNode *node) const
|
||||
{
|
||||
return node ? node->GetChildren() : NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
wxString wxXmlResourceHandlerImpl::GetParamValue(const wxString& param)
|
||||
|
Reference in New Issue
Block a user