uifw/EikStd/coctlsrc/EIKLBV.CPP
branchRCL_3
changeset 9 aabf2c525e0f
parent 0 2f259fa3e83a
child 16 71dd06cfe933
equal deleted inserted replaced
4:8ca85d2f0db7 9:aabf2c525e0f
     1 /*
     1 /*
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   970 #endif			
   970 #endif			
   971                 }
   971                 }
   972 
   972 
   973             if ( !drawingInitiated )
   973             if ( !drawingInitiated )
   974 			    {
   974 			    {
   975                 TRect rect( ItemPos(aItemIndex), ItemSize(aItemIndex) );
   975                 TRect rect( ItemPos(aItemIndex), iItemDrawer->ItemCellSize() );
   976 			    rect.Intersection( iViewRect );
   976 			    rect.Intersection( iViewRect );
   977 			    iWin->Invalidate( rect );
   977 			    iWin->Invalidate( rect );
   978 			    iWin->BeginRedraw( rect );
   978 			    iWin->BeginRedraw( rect );
   979 			    }
   979 			    }
   980 		    }
   980 		    }