--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbox.cpp Wed Sep 15 12:05:25 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbox.cpp Wed Oct 13 14:23:59 2010 +0300
@@ -878,28 +878,6 @@
}
// ---------------------------------------------------------------------------
-// CSwtListBox::PrepareForTraverse
-// From MSwtControl
-// ---------------------------------------------------------------------------
-//
-void CSwtListBox::PrepareForTraverse()
-{
- ASSERT(iList);
- ASSERT(iList->View());
-
-#ifdef RD_JAVA_S60_RELEASE_9_2
- // AvKon enables highlight only when key event is recieved.
- // When traversing, no key event is sent to AvKon, so we
- // have to enable highlight by ourselves.
- CListItemDrawer* itemDrawer = iList->View()->ItemDrawer();
- if (itemDrawer)
- {
- itemDrawer->ClearFlags(CListItemDrawer::ESingleClickDisabledHighlight);
- }
-#endif //RD_JAVA_S60_RELEASE_9_2
-}
-
-// ---------------------------------------------------------------------------
// CSwtListBox::Scrollable
// From MSwtListBox
// ---------------------------------------------------------------------------
@@ -971,7 +949,7 @@
iPrevSelItems = new(ELeave) CArrayFixFlat<TInt>(KInitSelArrLength);
// Get item cells
- CSwtListBoxLists::CellsL(iProps.iListType, iCells);
+ CSwtListBoxLists::Cells(iProps.iListType, iCells);
// This is needed for the case where the theme has animated highlights.
iList->SetFocus(ETrue, ENoDrawNow);