ducttape/ducttape-engine — pull request #187 by shua (2012-02-26 18:39:16+00:00)
Title: Just what the commit says.

old method:
win.CreateChild("button1");

new method:
win.AddChildWidget(new dt::GuiButton("button1"));

new method is more like node:
node->AddChildNode(new dt::Node("node2"));
node->AddComponent(new dt::MeshComponent("mesh1"));

also changed all the
dynamic_cast(widget->getMyGUIWidget())->eventMousButtonClick
to
widget->getMyGUIWidget()->eventMouseButtonClick

because GuiWidget has these events, too.

tested on my end, and it seems to work without any errors.