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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/components/Component.h b/include/cru/ui/components/Component.h
index 1e002e5f..86012e59 100644
--- a/include/cru/ui/components/Component.h
+++ b/include/cru/ui/components/Component.h
@@ -15,7 +15,7 @@ class CRU_UI_API Component
public:
virtual controls::Control* GetRootControl() = 0;
- bool IsDeleteByParent() const { return delete_by_parent_; }
+ bool IsDeleteByParent() { return delete_by_parent_; }
void SetDeleteByParent(bool delete_by_parent) {
delete_by_parent_ = delete_by_parent;
}