aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Button.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/Button.h')
-rw-r--r--include/cru/ui/controls/Button.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/controls/Button.h b/include/cru/ui/controls/Button.h
index 3c01be32..e8fa50f1 100644
--- a/include/cru/ui/controls/Button.h
+++ b/include/cru/ui/controls/Button.h
@@ -33,7 +33,7 @@ class CRU_UI_API Button : public SingleChildControl<render::BorderRenderObject>,
return click_detector_.StateChangeEvent();
}
- IEvent<helper::ClickEventArgs>* ClickEvent() {
+ IEvent<const helper::ClickEventArgs&>* ClickEvent() {
return click_detector_.ClickEvent();
}