[wx-dev] Re: problem with wxXmlNode::InsertChild

Milan Babuskov milanb at panonnet.net
Mon Mar 24 03:47:33 PDT 2008


Francesco Montorsi wrote:
>  1) wxXml* classes are relatively new (i.e. since 2.8; 2.6 didn't have 
> them)

Sorry for jumping in, but several of my apps use 2.6.x and wxXmlDocument 
and wxXmlNode. All your other points are valid.

>  2) in general InsertChild() isn't used widely; AddChild() is much more 
> common;

Agreed.

> and anyway wxXml classes are used more for loading docs than for 
> saving them AFAIK

Even when you use it for saving, wxXmlDocument is created on-the-fly 
from custom data structures used by application, and AddChild is a 
natural way of creating it.


-- 
Milan Babuskov
http://www.flamerobin.org


More information about the wx-dev mailing list