Inverted wxXmlNode sequence when adding nodes without using AddChild() from parent node

13 views
Skip to first unread message

Andrea Zanellato

unread,
Jul 26, 2012, 10:27:32 AM7/26/12
to wx-...@googlegroups.com
I noticed that, when adding wxXmlNodes inside a wxXmlDocument,
specifying the parent in their constructor, not using
parentNode->AddChild( childNode ), they seems to be added with an
inverted order, including subnodes.
I didn't tested this if it happens only using recursions or in all cases
but:
is this normal and AddChild is mandatory for some reason, should this be
documented or kind of bug?

Regards

Andrea
Reply all
Reply to author
Forward
0 new messages