CEGUI object deletes childs ?
Posted: Sun Jul 18, 2010 19:57
Hi,
I'm wondering if a CEGUI object automaticaly deletes their childs when he died...
For example, if I do this : obj->addItem(new Item("blablabla"));
If I call "delete obj;" obj will deletes the new item or I have to delete it myself ?
Thanks
I'm wondering if a CEGUI object automaticaly deletes their childs when he died...
For example, if I do this : obj->addItem(new Item("blablabla"));
If I call "delete obj;" obj will deletes the new item or I have to delete it myself ?
Thanks