From 9307bd1af7c52aaf9c6d25b598bf3069a63c32a1 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 16 Feb 2022 23:04:27 +0800 Subject: ... --- include/cru/ui/host/WindowHost.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/cru/ui/host') diff --git a/include/cru/ui/host/WindowHost.h b/include/cru/ui/host/WindowHost.h index 1de915e0..9fe46ac0 100644 --- a/include/cru/ui/host/WindowHost.h +++ b/include/cru/ui/host/WindowHost.h @@ -18,6 +18,7 @@ struct AfterLayoutEventArgs {}; // The bridge between control tree and native window. class CRU_UI_API WindowHost : public Object { + friend controls::Control; CRU_DEFINE_CLASS_LOG_TAG(u"cru::ui::host::WindowHost") public: -- cgit v1.2.3