equal
deleted
inserted
replaced
838 iGc->Clear(); |
838 iGc->Clear(); |
839 } |
839 } |
840 |
840 |
841 TInt firstPotentialItemIndex = iTopItemIndex; |
841 TInt firstPotentialItemIndex = iTopItemIndex; |
842 TInt lastPotentialItemIndex = |
842 TInt lastPotentialItemIndex = |
843 iTopItemIndex + NumberOfItemsThatFitInRect( iViewRect ); |
843 iTopItemIndex + NumberOfItemsThatFitInRect( iViewRect ) - 1; |
844 TBool backgroundDrawingSuppressed = ( listbox && listbox->BackgroundDrawingSuppressed() ); |
844 TBool backgroundDrawingSuppressed = ( listbox && listbox->BackgroundDrawingSuppressed() ); |
845 |
845 |
846 if ( iModel->NumberOfItems() == 0 ) |
846 if ( iModel->NumberOfItems() == 0 ) |
847 { |
847 { |
848 // Empty |
848 // Empty |