aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Control.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/Control.h')
-rw-r--r--include/cru/ui/controls/Control.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/ui/controls/Control.h b/include/cru/ui/controls/Control.h
index 4dad4549..3293969d 100644
--- a/include/cru/ui/controls/Control.h
+++ b/include/cru/ui/controls/Control.h
@@ -157,6 +157,8 @@ class CRU_UI_API Control : public Object {
host::WindowHost* new_host);
private:
+ bool in_destruction_ = false;
+
Control* parent_ = nullptr;
host::WindowHost* window_host_ = nullptr;