aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIWindow.cpp
diff options
context:
space:
mode:
authordavilla <davilla@svn>2010-04-30 22:56:07 +0000
committerdavilla <davilla@svn>2010-04-30 22:56:07 +0000
commit4708c15524f989bda392b7f5a4215e911806b28a (patch)
tree1b8f0fd2c9fef9263d0ebd29090805dabebf309b /guilib/GUIWindow.cpp
parent20434a3e8fab8b9c017cc5418d5296da5382041e (diff)
fixed broken OSX compile caused by r29685
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29693 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIWindow.cpp')
-rw-r--r--guilib/GUIWindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/guilib/GUIWindow.cpp b/guilib/GUIWindow.cpp
index f13ade167a..c4bfb9422d 100644
--- a/guilib/GUIWindow.cpp
+++ b/guilib/GUIWindow.cpp
@@ -721,6 +721,11 @@ bool CGUIWindow::ControlGroupHasFocus(int groupID, int controlID)
return false;
}
+bool CGUIWindow::HasID(int id)
+{
+ return (id >= m_controlID && id < m_controlID + m_idRange);
+}
+
void CGUIWindow::SaveControlStates()
{
ResetControlStates();