javauis/lcdui_akn/lcdui/src/CMIDForm.cpp
branchRCL_3
changeset 77 7cee158cb8cd
parent 71 d5e927d5853b
child 83 26b2b12093af
--- a/javauis/lcdui_akn/lcdui/src/CMIDForm.cpp	Tue Sep 14 21:06:50 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/src/CMIDForm.cpp	Wed Sep 15 12:05:25 2010 +0300
@@ -2004,6 +2004,13 @@
         control.PostFocusTransferEvent(EFalse, aDirection);
         // setting highlight must be called before setting focus
         control.SetHighlight(EFalse);
+#ifdef RD_JAVA_S60_RELEASE_9_2
+        if (IsChoiceGroup(control))
+        {
+            CMIDChoiceGroupItem& cg = static_cast< CMIDChoiceGroupItem& >(control);
+            cg.SetHighlight(EFalse);
+        }
+#endif // RD_JAVA_S60_RELEASE_9_2
         control.SetFocus(EFalse);
         UpdateItemCommands(NULL, NULL);
     }
@@ -2032,11 +2039,16 @@
     if (iFocused != KErrNotFound)
     { // actions for the item gaining focus
         CMIDControlItem& control = ControlItem(iFocused);
-
         SetHighlightBackgroundRects();
-
         control.PostFocusTransferEvent(ETrue, aDirection);
         control.SetHighlight(ETrue);
+#ifdef RD_JAVA_S60_RELEASE_9_2
+        if (IsChoiceGroup(control))
+        {
+            CMIDChoiceGroupItem& cg = static_cast< CMIDChoiceGroupItem& >(control);
+            cg.SetHighlight(ETrue);
+        }
+#endif // RD_JAVA_S60_RELEASE_9_2
         control.SetFocus(ETrue);
         // msk: deliver also the possible MSK command to displayable
         UpdateItemCommands(control.CommandList(), control.GetMSKCommand());