uifw/eikctl/src/EIKCLBD.CPP
branchRCL_3
changeset 7 08e69e956a8c
parent 6 9f56a4e1b8ab
child 8 71dd06cfe933
--- a/uifw/eikctl/src/EIKCLBD.CPP	Mon Mar 15 12:41:34 2010 +0200
+++ b/uifw/eikctl/src/EIKCLBD.CPP	Wed Mar 31 21:59:52 2010 +0300
@@ -1944,6 +1944,12 @@
                                      const TColors& aColors ) const
     {
     _AKNTRACE( "[%s][%s][%d].", "CColumnListBoxData", __FUNCTION__, __LINE__ );    
+    CListBoxView* view = static_cast<CEikListBox*>( iExtension->iControl )->View();
+    if ( !view->ViewRect().Intersects( aRect ) )
+        {
+        // outside of the clipping rect -> don't process this item
+        return;
+        }
 
     TInt lastColumn = Min( LastColumn(), KMaxColumn );
     TInt column=0;