Re[4]: Mac shortcut keys issue. Keys being sent to parent frame window.

Vadim Zeitlin <[email protected]> Tue, 1 Apr 2025 18:52:15 +0200
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Tue, 1 Apr 2025 06:42:34 -0700 (PDT) Tony Kennedy wrote:

TK> In the existing wxWidgetCocoaImpl::keyEvent function (window.mm), when a 
TK> key event happens, it's sent to the menu first. If I re-order the function 
TK> to what is below (let the control have a go first), copy/paste work. 
TK> 
TK> Are there any Mac specialists here that can comment on this change? 

 I'm not a Mac specialist, but I think that Mac applications are supposed
to send the events to the menu first, so it probably wouldn't be a good
idea to change this for the normal case. Can this be only done if the
current window is a floating one?

 Thanks,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
              https://www.tt-solutions.com/
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZ+wZvwAKCRAG6kHeT2we
htFBAJ43zktFrkaERexsvf2AUjNrPBKBIwCgkHlIpMVmVJv4RdZJbu47TScRrso=
=ZaFu
-----END PGP SIGNATURE-----