I see that the `pressedMouseButtons' method of `NSEvent' was not
available until OS X 10.6, so the implementation of
`get-current-mouse-state' needs to avoid it in 10.5 and earlier.

At Sun, 14 Jul 2013 18:29:27 +0100, Erich Rast wrote:
> This bug is a minor show-stopper in my project ("minor" because I could
> simply remove the functionality that makes use of the function).
> The bug was filed on May 26 and nobody is assigned to it yet, so
> I wonder: Is it repeatable? Could someone else confirm it? Does it only
> occur in my particular VM configuration?
> 
> The following program crashes on OS X 10.5.5:
> 
> #lang racket/gui
> 
> (define-values (p modifiers) (get-current-mouse-state))
> 
> ; this program crashes DrRacket 
> 
> because get-current-mouse-state seems to call an unsupported API
> function. It works fine on Linux 64 bit. Haven't tested it on
> Windows.
> 
> Best,
> 
> Erich
> 
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to