def child_added(self, child):
        super(WxNotebook, self).child_added(child)
        if isinstance(child, WxPage):
             for index, dchild in enumerate(self.children()):
                if child is dchild:
                    self.widget.InsertWxPage(index, child.widget)
Record.__setitem__ redirects to setattr()
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_notebook.py/WxNotebook.child_added--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/arrayobj.py/record_setitem