uifw/eikctl/src/EIKCLB.CPP
branchRCL_3
changeset 13 a8834a2e9a96
parent 12 941195f2d488
child 19 aecbbf00d063
equal deleted inserted replaced
12:941195f2d488 13:a8834a2e9a96
   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