javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupItem.cpp
branchRCL_3
changeset 77 7cee158cb8cd
parent 66 2455ef1f5bbc
child 83 26b2b12093af
--- a/javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupItem.cpp	Tue Sep 14 21:06:50 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupItem.cpp	Wed Sep 15 12:05:25 2010 +0300
@@ -823,4 +823,22 @@
     }
 }
 
+#ifdef RD_JAVA_S60_RELEASE_9_2
+void CMIDChoiceGroupItem::SetHighlight(const TBool aHighlight)
+{
+    CMIDControlItem::SetHighlight(aHighlight);
+    if (iChoiceGroupControl
+            && iChoiceGroupControl->ChoiceType() != MMIDChoiceGroup::EPopup
+            && iChoiceGroupControl->InnerListBoxControl()
+            && iChoiceGroupControl->InnerListBoxModel())
+    {
+        // Try to update icons (due to color change), if it leaves
+        // do nothing
+        TRAP_IGNORE(iChoiceGroupControl->InnerListBoxModel()->UpdateIconArrayL(aHighlight));
+        iChoiceGroupControl->InnerListBoxControl()->UpdateColors();
+    }
+}
+#endif // RD_JAVA_S60_RELEASE_9_2  
+
+
 // End of File