javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupControl.cpp
branchRCL_3
changeset 25 9ac0a0a7da70
parent 24 0fd27995241b
child 34 71c436fe3ce0
--- a/javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupControl.cpp	Tue May 11 16:07:20 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupControl.cpp	Tue May 25 12:34:19 2010 +0300
@@ -307,6 +307,21 @@
     }
 }
 
+#ifdef RD_JAVA_S60_RELEASE_9_2
+/**
+ * Fuction sets ESingleClickDisabledHighlight - item drawer flags
+ * and reports current highlight element change event
+ */
+void CMIDChoiceGroupControl::SingleClickDisableHighlightL(TBool aDisable)
+{
+    // Highlight should be disabled when listbox element taped
+    if (iListBox)
+    {
+        iListBox->SingleClickDisableHighlightL(aDisable);
+    }
+}
+#endif
+
 // msk
 void CMIDChoiceGroupControl::CurrentItemChanged()
 {
@@ -633,6 +648,14 @@
     case MEikListBoxObserver::EEventItemActioned:
         ToggleCurrentItemSelectionL();
         break;
+#ifdef RD_JAVA_S60_RELEASE_9_2
+    case MEikListBoxObserver::EEventPenDownOnItem:
+        if (iListBox)
+        {
+            iListBox->SetHighlight(EFalse);
+        }
+        break;
+#endif
 
     default:
         break;