mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
DolphinWX: Fix position of GameListCtrl tooltips on macOS
This commit is contained in:
parent
7a4464c3e0
commit
fdcf5aeb75
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue