From 77e0fd5cf7dd35324a7c3a43f2004fb923c6254c Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 16 Feb 2022 23:41:28 +0800 Subject: ... --- include/cru/ui/components/Component.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/cru/ui/components/Component.h') diff --git a/include/cru/ui/components/Component.h b/include/cru/ui/components/Component.h index 795d0db0..64c3ef47 100644 --- a/include/cru/ui/components/Component.h +++ b/include/cru/ui/components/Component.h @@ -4,9 +4,8 @@ namespace cru::ui::components { /** * \brief A component is a composition of controls. - * \remarks In destructor, component should remove root control from its parent - * by calling Control::RemoveFromParent. It should respect children's - * Component::IsDeleteByParent value and decide whether to delete it. + * \remarks Component should respect children's Component::IsDeleteByParent + * value and decide whether to delete it. */ class CRU_UI_API Component : public Object { public: -- cgit v1.2.3