Merge pull request #4610 from ligfx/fixgamelist

DolphinWX: Fix position of GameListCtrl tooltips on macOS
This commit is contained in:
Matthew Parlane 2017-01-12 14:18:05 +13:00 committed by GitHub
commit 0b6e5765dd

View File

@ -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);