javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtsortedlist.cpp
branchRCL_3
changeset 60 6c158198356e
parent 34 71c436fe3ce0
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
   617                                            aEnable);
   617                                            aEnable);
   618 }
   618 }
   619 #endif //RD_JAVA_S60_RELEASE_9_2
   619 #endif //RD_JAVA_S60_RELEASE_9_2
   620 
   620 
   621 // ---------------------------------------------------------------------------
   621 // ---------------------------------------------------------------------------
       
   622 // CSwtSortedList::PrepareForTraverse
       
   623 // From MSwtControl
       
   624 // ---------------------------------------------------------------------------
       
   625 //
       
   626 void CSwtSortedList::PrepareForTraverse()
       
   627 {
       
   628     ASSERT(iList);
       
   629     ASSERT(iList->View());
       
   630 
       
   631 #ifdef RD_JAVA_S60_RELEASE_9_2
       
   632     // AvKon enables highlight only when key event is recieved.
       
   633     // When traversing, no key event is sent to AvKon, so we
       
   634     // have to enable highlight by ourselves.
       
   635     CListItemDrawer* itemDrawer = iList->View()->ItemDrawer();
       
   636     if (itemDrawer)
       
   637     {
       
   638         itemDrawer->ClearFlags(CListItemDrawer::ESingleClickDisabledHighlight);
       
   639     }
       
   640 #endif //RD_JAVA_S60_RELEASE_9_2
       
   641 }
       
   642 
       
   643 
       
   644 // ---------------------------------------------------------------------------
   622 // CSwtSortedList::DoPaint
   645 // CSwtSortedList::DoPaint
   623 // From MSwtControl
   646 // From MSwtControl
   624 // ---------------------------------------------------------------------------
   647 // ---------------------------------------------------------------------------
   625 //
   648 //
   626 void CSwtSortedList::DoPaint(const TRect& aRect) const
   649 void CSwtSortedList::DoPaint(const TRect& aRect) const