Example #1
0
void Window::DispatchEvent(Event *event)
{
	Canvas *canvas = FindChild(event->target);
	if (canvas)
		canvas->HandleEvent(event);
}