diff options
author | crupest <crupest@outlook.com> | 2022-02-09 23:53:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-09 23:53:18 +0800 |
commit | b8863c403a44c1c7ac35f1a1da92bbf3c8858552 (patch) | |
tree | 7e38f029f0657e6c1210a53f1cba331cdb8feab6 /src/ui/host | |
parent | d18b5453d7ffd19667ee8ac125b34ab5328f0dc3 (diff) | |
download | cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.gz cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.bz2 cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.zip |
...
Diffstat (limited to 'src/ui/host')
-rw-r--r-- | src/ui/host/WindowHost.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ui/host/WindowHost.cpp b/src/ui/host/WindowHost.cpp index 9773c117..6849d000 100644 --- a/src/ui/host/WindowHost.cpp +++ b/src/ui/host/WindowHost.cpp @@ -105,11 +105,6 @@ inline void BindNativeEvent( WindowHost::WindowHost(controls::Control* root_control) : root_control_(root_control), focus_control_(root_control) { - root_control_->TraverseDescendants([this](controls::Control* control) { - control->window_host_ = this; - control->OnAttachToHost(this); - }); - root_render_object_ = root_control->GetRenderObject(); this->layout_paint_cycler_ = std::make_unique<LayoutPaintCycler>(this); |