javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtsortedlist.cpp
branchRCL_3
changeset 19 71c436fe3ce0
parent 18 9ac0a0a7da70
child 24 6c158198356e
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtsortedlist.cpp	Tue May 25 12:34:19 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtsortedlist.cpp	Wed Jun 09 09:34:07 2010 +0300
@@ -503,6 +503,10 @@
     {
         CSwtListBase::HandlePointerEventL(aPointerEvent);
     }
+    else
+    {
+        PostMouseEventL(aPointerEvent);
+    }
 }
 #endif //RD_SCALABLE_UI_V2
 
@@ -531,6 +535,9 @@
     TBool isFocused = IsFocused();
     if (iList)
     {
+#ifdef RD_JAVA_S60_RELEASE_9_2
+        EnableFocusHighlight(isFocused);
+#endif //RD_JAVA_S60_RELEASE_9_2
         iList->SetFocus(isFocused, aDrawNow);
         if (iSearchField)
         {
@@ -595,6 +602,22 @@
     CSwtListBase::ProcessKeyEventL(aKeyEvent, aType);
 }
 
+#ifdef RD_JAVA_S60_RELEASE_9_2
+// ---------------------------------------------------------------------------
+// CSwtSortedList::EnableFocusHighlight
+// From MSwtControl
+// ---------------------------------------------------------------------------
+//
+void CSwtSortedList::EnableFocusHighlight(TBool aEnable)
+{
+    ASSERT(iList);
+    ASSERT(iList->View());
+
+    CSwtListBoxLists::EnableFocusHighlight(iList->View()->ItemDrawer(),
+                                           aEnable);
+}
+#endif //RD_JAVA_S60_RELEASE_9_2
+
 // ---------------------------------------------------------------------------
 // CSwtSortedList::DoPaint
 // From MSwtControl
@@ -924,8 +947,8 @@
         iSearchField->SetComponentsToInheritVisibility(ETrue);
 
         // Set search field to use only second column to get
-        // item text. Items use \t as column separators, see method 
-        // CSwtListBase::CreateItemTextLC() for details. 
+        // item text. Items use \t as column separators, see method
+        // CSwtListBase::CreateItemTextLC() for details.
         const int KItemTextColumnFlag = 2;
         iSearchField->SetListColumnFilterFlags(KItemTextColumnFlag);