diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-02-19 07:13:46 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-02-19 07:13:46 +0000 |
commit | 1f44efa1b7d1152e7867c1532f2a364d2792e27d (patch) | |
tree | 53a0f6e9b246a8aeb0f1ad0da13c359916bf8c60 /guilib/GUIWindow.cpp | |
parent | 63832784ef52286798fb4c829f89c90dfa73214e (diff) |
cleanup: removed unnecessary parameter in CMouseEvent and an unnecessary include
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27967 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIWindow.cpp')
-rw-r--r-- | guilib/GUIWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/guilib/GUIWindow.cpp b/guilib/GUIWindow.cpp index 73b20223cc..25920b28b9 100644 --- a/guilib/GUIWindow.cpp +++ b/guilib/GUIWindow.cpp @@ -39,7 +39,6 @@ #include "utils/TimeUtils.h" #include "ButtonTranslator.h" #include "XMLUtils.h" -#include "MouseStat.h" #ifdef HAS_PERFORMANCE_SAMPLE #include "utils/PerformanceSample.h" @@ -371,7 +370,7 @@ bool CGUIWindow::OnMouseAction(const CAction &action) g_graphicsContext.InvertFinalCoords(mousePoint.x, mousePoint.y); // create the mouse event - CMouseEvent event(action.GetID(), action.GetHoldTime(), 0, action.GetAmount(2), action.GetAmount(3)); + CMouseEvent event(action.GetID(), action.GetHoldTime(), action.GetAmount(2), action.GetAmount(3)); if (m_exclusiveMouseControl) { CGUIControl *child = (CGUIControl *)GetControl(m_exclusiveMouseControl); |