From 0f8f98b9005803ab154b43dcad0db1f292072a4d Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 17 Nov 2025 12:54:55 +0800 Subject: Refactor window host. --- include/cru/ui/components/Component.h | 6 ------ 1 file changed, 6 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 6d31ae79..d8966a89 100644 --- a/include/cru/ui/components/Component.h +++ b/include/cru/ui/components/Component.h @@ -10,9 +10,6 @@ namespace cru::ui::components { */ class CRU_UI_API Component : public Object, public DeleteLaterImpl { public: - Component() = default; - ~Component() = default; - virtual controls::Control* GetRootControl() = 0; bool IsDeleteByParent() const { return delete_by_parent_; } @@ -21,9 +18,6 @@ class CRU_UI_API Component : public Object, public DeleteLaterImpl { } void DeleteIfDeleteByParent(bool delete_later = true); - protected: - void OnPrepareDelete() override; - private: bool delete_by_parent_ = false; }; -- cgit v1.2.3