diff options
Diffstat (limited to 'include/cru/ui/controls/stack_layout.hpp')
-rw-r--r-- | include/cru/ui/controls/stack_layout.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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::StackLayoutRenderObject> render_object_; |