uifw/AvKon/src/AknListBoxSettingPage.cpp
branchRCL_3
changeset 55 aecbbf00d063
parent 51 fcdfafb36fe7
child 56 d48ab3b357f1
--- a/uifw/AvKon/src/AknListBoxSettingPage.cpp	Thu Aug 19 10:11:06 2010 +0300
+++ b/uifw/AvKon/src/AknListBoxSettingPage.cpp	Tue Aug 31 15:28:30 2010 +0300
@@ -168,35 +168,6 @@
 	return EFalse; 
 	}
 
-//---------------------------------------------------------------------------------------
-// CAknListBoxSettingPage::EnableSingleClickHighlightL()
-// Enables highlight to listbox control in single click mode if needed
-//---------------------------------------------------------------------------------------
-//
-TBool CAknListBoxSettingPage::EnableSingleClickHighlight( TInt aCommandId )
-    {
-    TBool highLightEnabled = EFalse;
-   
-    if ( aCommandId == EAknSoftkeySelect &&
-            ListBoxControl()->ItemDrawer()->Flags() 
-                & CListItemDrawer::ESingleClickDisabledHighlight )
-        {   
-        TKeyEvent event;
-        event.iCode = EKeyOK;      
-        
-        // restore highlight with simulated key event
-        TRAP_IGNORE
-		    (
-            TKeyResponse response = ListBoxControl()->OfferKeyEventL( event, EEventKey );
-            if ( response == EKeyWasConsumed )
-                {
-                highLightEnabled = ETrue;
-                }
-            );
-        }
-    return highLightEnabled;
-    }
-
 void CAknListBoxSettingPage::CreateIconAndAddToArrayL(
     CArrayPtr<CGulIcon>*& aIconArray,
     const TAknsItemID& aId,