Sorry Banlu,

I missed this second mail. This explains my stupid question.
I had a short look at the Apple documentation and you are right, it
doesn't state what happens when this method is called on the wrong event
type. Most likely we jst extrapolated the behaviour from the other
methods on NSEvent. The better way to find out is of course to write a
short test program on Cocoa and implement the same behaviour.
I will do that and add this to our test suite.

Fred

Am 18.12.2010 21:46, schrieb Banlu Kemiyatorn:
> Hi,
> For more informations, I meant, delta in NSEvent, deltaX/Y/Z
> Thanks
> Banlu
> 
> On Sun, Dec 19, 2010 at 12:46 AM, Banlu Kemiyatorn <obj...@gmail.com> wrote:
>> Hi,
>> What's the reason behind that delta should raise exception when the
>> value was not available?
>> Why not just returning 0.?
>> Thanks,
>> Banlu


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to