javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtsortedlist.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 66 2455ef1f5bbc
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   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 // ---------------------------------------------------------------------------
       
   645 // CSwtSortedList::DoPaint
   622 // CSwtSortedList::DoPaint
   646 // From MSwtControl
   623 // From MSwtControl
   647 // ---------------------------------------------------------------------------
   624 // ---------------------------------------------------------------------------
   648 //
   625 //
   649 void CSwtSortedList::DoPaint(const TRect& aRect) const
   626 void CSwtSortedList::DoPaint(const TRect& aRect) const