From 1d14ce416bb4e5651b956790b621308acf73b64c Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 13 Mar 2022 17:11:08 +0800 Subject: ... --- include/cru/ui/components/Component.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 64c3ef47..34add594 100644 --- a/include/cru/ui/components/Component.h +++ b/include/cru/ui/components/Component.h @@ -1,5 +1,6 @@ #pragma once #include "../Base.h" +#include "cru/common/SelfResolvable.h" namespace cru::ui::components { /** @@ -7,7 +8,7 @@ namespace cru::ui::components { * \remarks Component should respect children's Component::IsDeleteByParent * value and decide whether to delete it. */ -class CRU_UI_API Component : public Object { +class CRU_UI_API Component : public Object, public SelfResolvable { public: Component() = default; -- cgit v1.2.3