add a little tweak to VirtualListView which may be necessary if things ever get rough

This commit is contained in:
zeromus 2011-06-27 05:22:12 +00:00
parent bff2c12765
commit e020da8dba
1 changed files with 5 additions and 0 deletions

View File

@ -538,6 +538,11 @@ namespace BizHawk
break;
}
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;
default:
break;
}