fixed wxXmlNode::InsertChild() documentation to match the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -224,12 +224,13 @@ Returns \true if this node has a property named {\it propName}.
|
||||
|
||||
\membersection{wxXmlNode::InsertChild}\label{wxxmlnodeinsertchild}
|
||||
|
||||
\func{bool}{InsertChild}{\param{wxXmlNode* }{child}, \param{wxXmlNode* }{before\_node}}
|
||||
\func{bool}{InsertChild}{\param{wxXmlNode* }{child}, \param{wxXmlNode* }{followingNode}}
|
||||
|
||||
Inserts the {\it child} node after {\it before\_node} in the children list.
|
||||
If {\it before\_node} is \NULL, then {\it child} is prepended to the list of children and
|
||||
becomes the first child of this node.
|
||||
Returns \true if {\it before\_node} has been found and the {\it child} node has been inserted.
|
||||
Inserts the {\it child} node immediately before {\it followingNode} in the
|
||||
children list. If {\it followingNode} is \NULL, then {\it child} is prepended
|
||||
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::IsWhitespaceOnly}\label{wxxmlnodecontainsiswhitespaceonly}
|
||||
|
||||
|
@@ -115,7 +115,7 @@ public:
|
||||
wxXmlNode(wxXmlNodeType type, const wxString& name,
|
||||
const wxString& content = wxEmptyString);
|
||||
virtual void AddChild(wxXmlNode *child);
|
||||
virtual bool InsertChild(wxXmlNode *child, wxXmlNode *before_node);
|
||||
virtual bool InsertChild(wxXmlNode *child, wxXmlNode *followingNode);
|
||||
virtual bool RemoveChild(wxXmlNode *child);
|
||||
virtual void AddProperty(const wxString& name, const wxString& value);
|
||||
virtual bool DeleteProperty(const wxString& name);
|
||||
|
Reference in New Issue
Block a user