aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/host
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-16 23:04:27 +0800
committercrupest <crupest@outlook.com>2022-02-16 23:04:27 +0800
commit9307bd1af7c52aaf9c6d25b598bf3069a63c32a1 (patch)
treea3e485ad60a0114f42dfe3c8d4c64bee87c91ba5 /include/cru/ui/host
parentf75ab0bd662c73d15057d746347d09bf94a992a6 (diff)
downloadcru-9307bd1af7c52aaf9c6d25b598bf3069a63c32a1.tar.gz
cru-9307bd1af7c52aaf9c6d25b598bf3069a63c32a1.tar.bz2
cru-9307bd1af7c52aaf9c6d25b598bf3069a63c32a1.zip
...
Diffstat (limited to 'include/cru/ui/host')
-rw-r--r--include/cru/ui/host/WindowHost.h1
1 files changed, 1 insertions, 0 deletions
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: