void TShapeView::HandleAddedShape(const TNotification& notification) { const TAreaNotification* areaNotification = (const TAreaNotification*)¬ification; Invalidate(areaNotification->GetShape()->GetLooseFitBounds()); }