--- a/uifw/EikStd/coctlsrc/AknButton.cpp Tue Sep 14 21:48:24 2010 +0300
+++ b/uifw/EikStd/coctlsrc/AknButton.cpp Wed Sep 15 12:29:17 2010 +0300
@@ -2307,11 +2307,11 @@
{
return;
}
- TBool hitArea( EFalse );
- TRAP_IGNORE( hitArea = HitAreaContainsL( aPointerEvent.iPosition, EFalse ))
- if ( ( iFlags & KAknButtonHitTest ) && !hitArea )
+ //Using HitAreaContainsL() to verify whether pointer event locates in valid area
+ //when KAknButtonHitTest is defined.
+ if ( iFlags & KAknButtonHitTest )
{
- buttonEvent = EFalse;
+ TRAP_IGNORE( buttonEvent = HitAreaContainsL( aPointerEvent.iPosition, EFalse ))
}
TBool redrawNeeded(EFalse);