javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swttree.cpp
branchRCL_3
changeset 60 6c158198356e
parent 46 4376525cdefb
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
   282     return ASwtScrollableBase::IsFocusable(aReason);
   282     return ASwtScrollableBase::IsFocusable(aReason);
   283 }
   283 }
   284 
   284 
   285 TInt CSwtTree::FocusBackgroundPolicy() const
   285 TInt CSwtTree::FocusBackgroundPolicy() const
   286 {
   286 {
       
   287 #ifdef RD_JAVA_S60_RELEASE_9_2
       
   288     return ENoFocusBackgroundInCaptionedControl;
       
   289 #else
   287     // Bypass CSwtComposite's focus background.
   290     // Bypass CSwtComposite's focus background.
   288     return ASwtControlBase::FocusBackgroundPolicy();
   291     return ASwtControlBase::FocusBackgroundPolicy();
       
   292 #endif // RD_JAVA_S60_RELEASE_9_2
   289 };
   293 };
   290 
   294 
   291 void CSwtTree::ProcessKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType)
   295 void CSwtTree::ProcessKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType)
   292 {
   296 {
   293     ASSERT(iTree);
   297     ASSERT(iTree);