aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIButtonControl.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2009-10-07 01:27:50 +0000
committerjmarshallnz <jmarshallnz@svn>2009-10-07 01:27:50 +0000
commit363c74fafa695c1bfb23c0bf34f35ba69c1212ec (patch)
tree1a2b21d1dd66db30ba57520ec093f1f7f0ce48df /guilib/GUIButtonControl.cpp
parenta53a6e0fd407e28a4b5b34fcd3ea67bbd4e0df8a (diff)
changed: Get rid of the use of g_graphicsContext to send messages (all it did was passed them on to the window manager.)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23492 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIButtonControl.cpp')
-rw-r--r--guilib/GUIButtonControl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIButtonControl.cpp b/guilib/GUIButtonControl.cpp
index 5a85984bd7..b36f099d00 100644
--- a/guilib/GUIButtonControl.cpp
+++ b/guilib/GUIButtonControl.cpp
@@ -296,7 +296,7 @@ void CGUIButtonControl::OnClick()
{
CGUIMessage message(GUI_MSG_EXECUTE, controlID, parentID);
message.SetAction(clickActions[i]);
- g_graphicsContext.SendMessage(message);
+ m_gWindowManager.SendMessage(message);
}
}