Am 22.12.2010 13:32, schrieb Banlu Kemiyatorn: > 2010/12/22 Fred Kiefer <fredkie...@gmx.de>: >> 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 > > Hi Fred, > That should be me, I sent the second mail coz DrNHS bugged me my first > question was lacking of info. > > AFAICT it didn't happen in Cocoa since I have the problem only when > porting an app I released called Helicropper from a working OSX > version. But even if it does, I hardly see why someone would expect a > delta to raise an exception than giving a zero. If they are catching > stray events they probably should check for event type. > > BAnlu
Done, I will provide the promised test case later one. Tests on Cocoa showed that your proposal is correct. Fred _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev