uifw/EikStd/coctlsrc/EIKLBX.CPP
branchRCL_3
changeset 3 8ca85d2f0db7
parent 0 2f259fa3e83a
child 6 9f56a4e1b8ab
--- a/uifw/EikStd/coctlsrc/EIKLBX.CPP	Tue Feb 02 01:00:49 2010 +0200
+++ b/uifw/EikStd/coctlsrc/EIKLBX.CPP	Fri Feb 19 23:04:46 2010 +0200
@@ -73,7 +73,7 @@
 #include <akncollection.h>
 #include <aknitemactionmenu.h>
 #include <aknlongtapdetector.h>
-#include <aknpriv.hrh>
+#include <AknPriv.hrh>
 #include "akntrace.h"
 
 // timeout for long keypress used in markable lists
@@ -1079,10 +1079,9 @@
     {
     if ( iSingleClickEnabled && iLongTapDetector && iItemActionMenu  )
         {
-        // Send event on down only if no marked items and item specific items
-        // were found
+        // Send event on down only if item specific items were found
         if ( aPointerEvent.iType != TPointerEvent::EButton1Down
-                || ( !MarkedItems() && iItemActionMenu->InitMenuL() ) )
+                || iItemActionMenu->InitMenuL() )
             {
             iLongTapDetector->PointerEventL ( aPointerEvent );
             }
@@ -1810,6 +1809,22 @@
         }
     }
 
+
+// -----------------------------------------------------------------------------
+// CEikListBox::ItemsInSingleLine
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt CEikListBox::ItemsInSingleLine() const
+    {
+    if ( iListBoxExt )
+        {
+        return iListBoxExt->iItemsInSingleLine;
+        }
+    
+    return 1;
+    }
+
+    
 EXPORT_C void CEikListBox::UpdateViewColors()
     {
     _AKNTRACE_FUNC_ENTER;