aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIBaseContainer.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/GUIBaseContainer.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/GUIBaseContainer.cpp')
-rw-r--r--guilib/GUIBaseContainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/guilib/GUIBaseContainer.cpp b/guilib/GUIBaseContainer.cpp
index 3bfe8c6c51..f453bc9d97 100644
--- a/guilib/GUIBaseContainer.cpp
+++ b/guilib/GUIBaseContainer.cpp
@@ -21,6 +21,7 @@
#include "GUIBaseContainer.h"
#include "GUIControlFactory.h"
+#include "GUIWindowManager.h"
#include "utils/CharsetConverter.h"
#include "utils/GUIInfoManager.h"
#include "utils/TimeUtils.h"
@@ -622,7 +623,7 @@ bool CGUIBaseContainer::OnClick(int actionID)
action.Replace(",,", ",");
CGUIMessage message(GUI_MSG_EXECUTE, GetID(), GetParentID());
message.SetStringParam(action);
- g_graphicsContext.SendMessage(message);
+ m_gWindowManager.SendMessage(message);
}
}
return true;