aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUICheckMarkControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/GUICheckMarkControl.cpp')
-rw-r--r--guilib/GUICheckMarkControl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/guilib/GUICheckMarkControl.cpp b/guilib/GUICheckMarkControl.cpp
index 38aa74293f..17cc96d251 100644
--- a/guilib/GUICheckMarkControl.cpp
+++ b/guilib/GUICheckMarkControl.cpp
@@ -148,14 +148,14 @@ bool CGUICheckMarkControl::GetSelected() const
return m_bSelected;
}
-bool CGUICheckMarkControl::OnMouseEvent(const CPoint &point, const CMouseEvent &event)
+EVENT_RESULT CGUICheckMarkControl::OnMouseEvent(const CPoint &point, const CMouseEvent &event)
{
if (event.m_id == ACTION_MOUSE_LEFT_CLICK)
{
OnAction(CAction(ACTION_SELECT_ITEM));
- return true;
+ return EVENT_RESULT_HANDLED;
}
- return false;
+ return EVENT_RESULT_UNHANDLED;
}
void CGUICheckMarkControl::SetLabel(const string &label)