aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUISpinControlEx.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-03-26 09:43:00 +0000
committerjmarshallnz <jmarshallnz@svn>2010-03-26 09:43:00 +0000
commitadef801ce56c83e4798845db586deb743992e569 (patch)
tree64b814a5c5d67fc0112855ebb80bd19bff25f08c /guilib/GUISpinControlEx.cpp
parent6d22e83986fa752e550ff7ff839c0542eafb2860 (diff)
added: Allow immediate deletion of resources via CGUIControl::FreeResources(true);
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28827 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUISpinControlEx.cpp')
-rw-r--r--guilib/GUISpinControlEx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/guilib/GUISpinControlEx.cpp b/guilib/GUISpinControlEx.cpp
index 4c5f53cebb..23e0cec459 100644
--- a/guilib/GUISpinControlEx.cpp
+++ b/guilib/GUISpinControlEx.cpp
@@ -43,10 +43,10 @@ void CGUISpinControlEx::AllocResources()
m_height = GetSpinHeight();
}
-void CGUISpinControlEx::FreeResources()
+void CGUISpinControlEx::FreeResources(bool immediately)
{
- CGUISpinControl::FreeResources();
- m_buttonControl.FreeResources();
+ CGUISpinControl::FreeResources(immediately);
+ m_buttonControl.FreeResources(immediately);
}
void CGUISpinControlEx::DynamicResourceAlloc(bool bOnOff)