backported wxXmlNode::InsertChildAfter and its use during XML parsing to 2.8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-04-02 10:06:54 +00:00
parent ccae5408e6
commit d37ce8aaa7
5 changed files with 102 additions and 10 deletions

View File

@@ -232,6 +232,23 @@ to the list of children and becomes the first child of this node. Returns
\true if {\it followingNode} has been found and the {\it child} node has been
inserted.
\membersection{wxXmlNode::InsertChildAfter}\label{wxxmlnodeinsertchildafter}
\func{bool}{InsertChildAfter}{\param{wxXmlNode* }{child}, \param{wxXmlNode* }{precedingNode}}
Inserts the \arg{child} node immediately after \arg{precedingNode} in the
children list. Returns \true if \arg{precedingNode} has been found and the
\arg{child} node has been inserted.
\wxheading{Parameters}
\docparam{child}{Node to insert.}
\docparam{precedingNode}{The node to insert \arg{child} after.
As a special case, this can be \NULL if this node has no children yet --
in that case, \arg{child} will become this node's only child node.}
\newsince{2.8.8}
\membersection{wxXmlNode::IsWhitespaceOnly}\label{wxxmlnodecontainsiswhitespaceonly}
\constfunc{bool}{IsWhitespaceOnly}{\void}