only paint GameListItems if any exist

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7407 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2011-03-24 04:20:46 +00:00
parent 63ed047aef
commit 85f717c7c7
1 changed files with 2 additions and 0 deletions

View File

@ -360,6 +360,8 @@ void CGameListCtrl::OnPaintDrawImages(wxPaintEvent& event)
wxControl::OnPaint(event); wxControl::OnPaint(event);
// Draw the flags, platform icons and emustate icons on top if there's games to show // Draw the flags, platform icons and emustate icons on top if there's games to show
if (m_ISOFiles.empty())
return;
// Retrieve the topmost shown item and get drawing offsets // Retrieve the topmost shown item and get drawing offsets
const long const long