uifw/AvKon/src/AknPopupSettingPage.cpp
changeset 14 3320e4e6e8bb
parent 0 2f259fa3e83a
--- a/uifw/AvKon/src/AknPopupSettingPage.cpp	Tue Feb 02 01:00:49 2010 +0200
+++ b/uifw/AvKon/src/AknPopupSettingPage.cpp	Fri Apr 16 15:13:44 2010 +0300
@@ -44,7 +44,7 @@
 #include <aknlistboxtfxinternal.h>
 #endif //RD_UI_TRANSITION_EFFECTS_LIST
 
-#include <aknpriv.hrh>
+
 
 // ----------------------------------------------------------------------------
 // Extension class definition
@@ -735,6 +735,7 @@
 
 EXPORT_C void CAknPopupSettingPage::SelectCurrentItemL()
 	{
+#ifdef RD_TOUCH2
     CAknPopupSettingList* list = PopupSettingListBox();
     
     if ( ( list->ItemDrawer()->Flags() & 
@@ -743,6 +744,7 @@
         {
         list->View()->SetCurrentItemIndex( list->CurrentSelection() );
         }
+#endif // RD_TOUCH2
     
     PopupSettingListBox()->SelectCurrentItemL();
 	} 
@@ -781,14 +783,6 @@
 EXPORT_C void CAknPopupSettingPage::HandlePointerEventL(const TPointerEvent& aPointerEvent) 
     { 
     CAknListBoxSettingPage::HandlePointerEventL(aPointerEvent); 
-    if ( TPointerEvent::EDrag == aPointerEvent.iType )
-        {
-        if ( !( Rect().Contains( aPointerEvent.iPosition ) ) )
-            {
-            // Clear focus if dragged outside popup
-            PopupSettingListBox()->HandleResourceChange( KAknMessageFocusLost );
-            }
-        }
     }
 
 EXPORT_C void* CAknPopupSettingPage::ExtensionInterface( TUid /*aInterface*/ )