- return new ViewBTreeChildData (data, parent, x1, y1, x2, y2);
-
- return new ViewBTreeData (data, parent, x1, y1, x2, y2);
+ ret = new ViewBTreeChildData (data, parent, x1, y1, x2, y2);
+ else
+ ret = new ViewBTreeData (data, parent, x1, y1, x2, y2);
+ ret->init (parent);
+ return ret;