aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/window.hpp')
-rw-r--r--include/cru/ui/window.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/cru/ui/window.hpp b/include/cru/ui/window.hpp
index f15e605b..2f5df4da 100644
--- a/include/cru/ui/window.hpp
+++ b/include/cru/ui/window.hpp
@@ -28,9 +28,6 @@ class Window final : public ContentControl {
render::RenderObject* GetRenderObject() const override;
- bool IsRetainAfterDestroy() { return retain_after_destroy_; }
- void SetRetainAfterDestroy(bool destroy) { retain_after_destroy_ = destroy; }
-
protected:
void OnChildChanged(Control* old_child, Control* new_child) override;
@@ -39,7 +36,5 @@ class Window final : public ContentControl {
// UiHost is responsible to take care of lifetime of this.
render::WindowRenderObject* render_object_;
-
- bool retain_after_destroy_ = false;
};
} // namespace cru::ui