summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-01-04 15:12:40 -0800
committerMichael Maltese <michaeljosephmaltese@gmail.com>2017-01-11 16:59:15 -0800
commitfdcf5aeb75ebd77c16c24a645346019726d8805a (patch)
tree1deb9b691351eebd94e3d1618d487ad72a832e64 /Source/Core
parent7a4464c3e0c1e9a117ae35a2807882799d506791 (diff)
DolphinWX: Fix position of GameListCtrl tooltips on macOS
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/GameListCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp
index 99777b2b4a..c93e29b1ff 100644
--- a/Source/Core/DolphinWX/GameListCtrl.cpp
+++ b/Source/Core/DolphinWX/GameListCtrl.cpp
@@ -923,7 +923,7 @@ void CGameListCtrl::OnMouseMotion(wxMouseEvent& event)
GetItemRect(item, Rect);
int mx = Rect.GetWidth();
int my = Rect.GetY();
-#ifndef __WXMSW__
+#if !defined(__WXMSW__) && !defined(__WXOSX__)
// For some reason the y position does not account for the header
// row, so subtract the y position of the first visible item.
GetItemRect(GetTopItem(), Rect);