aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUICheckMarkControl.cpp
diff options
context:
space:
mode:
authorMaestroDD <MaestroDD@svn>2010-01-20 15:02:51 +0000
committerMaestroDD <MaestroDD@svn>2010-01-20 15:02:51 +0000
commit01c4d6b96d62d34a7cddc99ad1c5db9af97604a6 (patch)
tree929a8d7a873fc7fceeaa8d5890b2bf7270b3877e /guilib/GUICheckMarkControl.cpp
parent7947147e81ab0774cabb28c4a27bf5652decff25 (diff)
fixed build: don't use reserved 'id' as c++ member var
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27026 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
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 eaa04d14c2..b76aaef366 100644
--- a/guilib/GUICheckMarkControl.cpp
+++ b/guilib/GUICheckMarkControl.cpp
@@ -81,10 +81,10 @@ void CGUICheckMarkControl::Render()
bool CGUICheckMarkControl::OnAction(const CAction &action)
{
- if (action.id == ACTION_SELECT_ITEM)
+ if (action.actionId == ACTION_SELECT_ITEM)
{
m_bSelected = !m_bSelected;
- CGUIMessage msg(GUI_MSG_CLICKED, GetID(), GetParentID(), action.id);
+ CGUIMessage msg(GUI_MSG_CLICKED, GetID(), GetParentID(), action.actionId);
SendWindowMessage(msg);
return true;
}
@@ -148,7 +148,7 @@ bool CGUICheckMarkControl::OnMouseEvent(const CPoint &point, const CMouseEvent &
if (event.m_id == ACTION_MOUSE_LEFT_CLICK)
{
CAction action;
- action.id = ACTION_SELECT_ITEM;
+ action.actionId = ACTION_SELECT_ITEM;
OnAction(action);
return true;
}