From 7fd9ca808c908c67d9bec2183034ad16ea86a912 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 2 Apr 2020 21:09:06 +0800 Subject: ... --- include/cru/ui/controls/stack_layout.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/controls/stack_layout.hpp') diff --git a/include/cru/ui/controls/stack_layout.hpp b/include/cru/ui/controls/stack_layout.hpp index 93861c19..20da0e82 100644 --- a/include/cru/ui/controls/stack_layout.hpp +++ b/include/cru/ui/controls/stack_layout.hpp @@ -22,8 +22,8 @@ class StackLayout : public LayoutControl { render::RenderObject* GetRenderObject() const override; protected: - void OnAddChild(Control* child, int position) override; - void OnRemoveChild(Control* child, int position) override; + void OnAddChild(Control* child, Index position) override; + void OnRemoveChild(Control* child, Index position) override; private: std::shared_ptr render_object_; -- cgit v1.2.3