git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10963
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// TODO: optimize it too! this is less simple than for report view but
// enumerating all items is still not a way to do it!!
{
// TODO: optimize it too! this is less simple than for report view but
// enumerating all items is still not a way to do it!!
- for ( current = 0; current < count && !hitResult; current++ )
+ for ( current = 0; current < count; current++ )
{
hitResult = HitTestLine(current, x, y);
{
hitResult = HitTestLine(current, x, y);
+ if ( hitResult )
+ break;