aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/events/RoutedEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/events/RoutedEvent.h')
-rw-r--r--include/cru/ui/events/RoutedEvent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/events/RoutedEvent.h b/include/cru/ui/events/RoutedEvent.h
index 58e50d63..b14b6e42 100644
--- a/include/cru/ui/events/RoutedEvent.h
+++ b/include/cru/ui/events/RoutedEvent.h
@@ -8,7 +8,7 @@ namespace cru::ui::events {
// EventArgs must be reference because the IsHandled property must be settable.
template <typename TEventArgs>
class CRU_UI_API RoutedEvent {
- friend controls::Window;
+ friend controls::ControlHost;
public:
static_assert(std::is_base_of_v<UiEventArgs, TEventArgs>,