virtual listview needs this hack after all

This commit is contained in:
zeromus 2011-07-09 18:28:15 +00:00
parent 0407bb2e86
commit 8b94d5f6f2
1 changed files with 4 additions and 4 deletions

View File

@ -539,10 +539,10 @@ namespace BizHawk
}
break;
//it is conceivable that you will need this. you wouldnt be able to conceive of why, though. obscure message loop flakiness when exceptions are thrown from the message loop...
//case (int)WindowsMessage.WM_SETFOCUS:
// if(SelectedIndices.Count>0 && SelectedIndices[0] >= VirtualListSize)
// messageProcessed = true;
// break;
case (int)WindowsMessage.WM_SETFOCUS:
if (SelectedIndices.Count > 0 && SelectedIndices[0] >= VirtualListSize)
messageProcessed = true;
break;
default:
break;
}