uifw/AvKon/src/aknnotewrappers.cpp
branchRCL_3
changeset 8 71dd06cfe933
parent 0 2f259fa3e83a
child 19 aecbbf00d063
equal deleted inserted replaced
7:08e69e956a8c 8:71dd06cfe933
   132 
   132 
   133 EXPORT_C void CAknNoteWrapper::HandlePointerEventL(const TPointerEvent& aPointerEvent)
   133 EXPORT_C void CAknNoteWrapper::HandlePointerEventL(const TPointerEvent& aPointerEvent)
   134     {
   134     {
   135     if ( AknLayoutUtils::PenEnabled() )
   135     if ( AknLayoutUtils::PenEnabled() )
   136         {
   136         {
   137         if (aPointerEvent.iType == TPointerEvent::EButton1Up)
   137         if ( aPointerEvent.iType == TPointerEvent::EButton1Down )
   138             {
   138             {
   139             MTouchFeedback* feedback = MTouchFeedback::Instance();
   139             MTouchFeedback* feedback = MTouchFeedback::Instance();
   140             if ( feedback )
   140             if ( feedback )
   141                 {
   141                 {
   142                 feedback->InstantFeedback( ETouchFeedbackPopUp );
   142                 feedback->InstantFeedback( ETouchFeedbackPopUp );
   143                 }
   143                 }
   144             StaticDeleteL(this);     
   144             }
       
   145         if (aPointerEvent.iType == TPointerEvent::EButton1Up)
       
   146             {
       
   147             StaticDeleteL(this);
   145             }
   148             }
   146         }
   149         }
   147     }
   150     }
   148 
   151 
   149 //-------------------------------------------------------------------------------------
   152 //-------------------------------------------------------------------------------------