//------------------------------------------------------------------------------------- void EventDispatcher::attach(EventDispatcher & childDispatcher) { childDispatcher.attachTo(*this); childDispatchers_.push_back(&childDispatcher); }