- [child->m_cocoaNSView retain];
- // NOTE: addSubView takes ownership of, but does not retain the subview
- // Upon a removeFromView or closing the super view, the child WILL be
- // released!!! I think the idea here is that normally you would alloc
- // the subview and add it to the superview and this way you don't have
- // to release what you just alloced. Unfortunately, that doesn't
- // make sense for wxCocoa, so we do this instead.