From 942f1d34c48e61a853db745cd68e46db13266a5c Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 4 Dec 2021 18:06:43 +0800 Subject: ... --- include/cru/ui/controls/LayoutControl.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cru/ui/controls/LayoutControl.hpp') diff --git a/include/cru/ui/controls/LayoutControl.hpp b/include/cru/ui/controls/LayoutControl.hpp index 106dd94d..381df1df 100644 --- a/include/cru/ui/controls/LayoutControl.hpp +++ b/include/cru/ui/controls/LayoutControl.hpp @@ -18,6 +18,8 @@ class LayoutControl : public Control { using Control::AddChild; using Control::RemoveChild; + void ClearChildren(); + protected: // If container render object is not null. Render object of added or removed // child control will automatically sync to the container render object. -- cgit v1.2.3