aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIMultiSelectText.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/GUIMultiSelectText.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/GUIMultiSelectText.cpp')
-rw-r--r--guilib/GUIMultiSelectText.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/guilib/GUIMultiSelectText.cpp b/guilib/GUIMultiSelectText.cpp
index 25e7ae62df..b75e31f80d 100644
--- a/guilib/GUIMultiSelectText.cpp
+++ b/guilib/GUIMultiSelectText.cpp
@@ -20,6 +20,7 @@
*/
#include "GUIMultiSelectText.h"
+#include "GUIWindowManager.h"
#include "Key.h"
#include "MouseStat.h"
#include "utils/log.h"
@@ -174,7 +175,7 @@ bool CGUIMultiSelectTextControl::OnAction(const CAction &action)
{ // have a click action -> perform it
CGUIMessage message(GUI_MSG_EXECUTE, m_controlID, m_parentID);
message.SetStringParam(clickAction);
- g_graphicsContext.SendMessage(message);
+ m_gWindowManager.SendMessage(message);
}
else
{ // no click action, just send a message to the window