aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-04-12 20:30:49 +0800
committercrupest <crupest@outlook.com>2020-04-12 20:30:49 +0800
commitdb663ebb463dc00416038d068e538ab410558503 (patch)
tree5c20cac738e2a7111ba61754479a774c2e9e0c0a /include/cru/ui/window.hpp
parent23ef59b6aa14874e3b68c8716c137eb65583cd63 (diff)
downloadcru-db663ebb463dc00416038d068e538ab410558503.tar.gz
cru-db663ebb463dc00416038d068e538ab410558503.tar.bz2
cru-db663ebb463dc00416038d068e538ab410558503.zip
...
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