Dear Matthew,

I managed to find the performKeyEquivalent after all. Blame my brand new but poor 'ack' (a grep replacement) skills.

On 26.11.10 15:03, Matthew Flatt wrote:
A second experiment:

  * In "collects/mred/private/wx/cocoa/window.rkt", change the
    implementation of `performKeyEquivalent:' in `MyMenuBar'
    from

       (and the-apple-menu
            (tell #:type _BOOL the-apple-menu performKeyEquivalent: evt))

    to

       (super-tell #:type _BOOL performKeyEquivalent: evt)

  * Run GRacket. Does Cmd-A work? Cmd-Q?

Yes. Cmd-Q, Cmd-A, Cmd-W and Cmd-T work.

A third experiment:

  * Change the `performKeyEquivalent:' implementation to just

       #t

  * Run GRacket. Does Cmd-A work? Cmd-Q?

No.

A fourth experiment:

  * Change the `performKeyEquivalent:' implementation to just

       #f

  * Run GRacket. Does Cmd-A work? Cmd-Q?

No.

--
regards,
Jakub Piotr Cłapa
_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to