aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/components/Component.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/components/Component.h')
-rw-r--r--include/cru/ui/components/Component.h6
1 files changed, 0 insertions, 6 deletions
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;
};