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:
Václav Slavík
2008-03-29 22:57:45 +00:00
parent 56c263be0b
commit 697d268c05
2 changed files with 7 additions and 6 deletions

View File

@@ -224,12 +224,13 @@ Returns \true if this node has a property named {\it propName}.
\membersection{wxXmlNode::InsertChild}\label{wxxmlnodeinsertchild} \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. Inserts the {\it child} node immediately before {\it followingNode} in the
If {\it before\_node} is \NULL, then {\it child} is prepended to the list of children and children list. If {\it followingNode} is \NULL, then {\it child} is prepended
becomes the first child of this node. to the list of children and becomes the first child of this node. Returns
Returns \true if {\it before\_node} has been found and the {\it child} node has been inserted. \true if {\it followingNode} has been found and the {\it child} node has been
inserted.
\membersection{wxXmlNode::IsWhitespaceOnly}\label{wxxmlnodecontainsiswhitespaceonly} \membersection{wxXmlNode::IsWhitespaceOnly}\label{wxxmlnodecontainsiswhitespaceonly}

View File

@@ -115,7 +115,7 @@ public:
wxXmlNode(wxXmlNodeType type, const wxString& name, wxXmlNode(wxXmlNodeType type, const wxString& name,
const wxString& content = wxEmptyString); const wxString& content = wxEmptyString);
virtual void AddChild(wxXmlNode *child); 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 bool RemoveChild(wxXmlNode *child);
virtual void AddProperty(const wxString& name, const wxString& value); virtual void AddProperty(const wxString& name, const wxString& value);
virtual bool DeleteProperty(const wxString& name); virtual bool DeleteProperty(const wxString& name);