Check if we are just displaying the empty game list before assuming

that the ratings column is present.

Fixes issue 4183.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7315 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2011-03-07 20:19:20 +00:00
parent 89f636cc08
commit bf9962c3f0
1 changed files with 3 additions and 0 deletions

View File

@ -883,6 +883,9 @@ void CGameListCtrl::OnMouseMotion(wxMouseEvent& event)
long item = HitTest(event.GetPosition(), flags, &subitem);
static int lastItem = -1;
if (GetColumnCount() <= 1)
return;
if (item != wxNOT_FOUND)
{
wxRect Rect;