equal
deleted
inserted
replaced
586 { |
586 { |
587 return ctrl; |
587 return ctrl; |
588 } |
588 } |
589 |
589 |
590 iPointerCaptureCtrl = aCtrl; |
590 iPointerCaptureCtrl = aCtrl; |
591 if(iCtrlWithPointerDown && ! aCtrl->PointerDown()) |
591 |
|
592 if(iCtrlWithPointerDown && aCtrl != NULL && !aCtrl->PointerDown()) |
592 { |
593 { |
593 //if someone else has pointer down, we must cancel the down event. |
594 //if someone else has pointer down, we must cancel the down event. |
594 TRAP_IGNORE(iCtrlWithPointerDown->CancelPointerDownL()); |
595 TRAP_IGNORE(iCtrlWithPointerDown->CancelPointerDownL()); |
595 iCtrlWithPointerDown = NULL; |
596 iCtrlWithPointerDown = NULL; |
596 } |
597 } |