diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-03-25 02:02:06 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-03-25 02:02:06 +0000 |
commit | 44a3d70de84e60ed25c6c15258d01324cfe3377d (patch) | |
tree | 886ea6798d7009593f531208d746098488923a51 /guilib/GUICheckMarkControl.cpp | |
parent | 002fb7812778df0dc924f5159236a19a052661cf (diff) |
changed: Make On/SendMouseEvent() return an enum rather than true/false.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28796 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUICheckMarkControl.cpp')
-rw-r--r-- | guilib/GUICheckMarkControl.cpp | 6 |
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) |