Mac shortcut keys issue. Keys being sent to parent frame window.

Tony Kennedy <[email protected]> Tue, 25 Mar 2025 06:18:26 -0700 (PDT)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Hi all,

On the Mac, if I have a floating wxMiniFrame (or AUI panel) that contains a 
text control, any shortcut keys (CMD-C, CMD-V etc) are sent to the parent 
wxFrame window. 

The parent wxFrame window has a wxMenu with copy/paste, so I see why the 
key presses are going there. But this behaviour is different on Windows 
(the text control works as expected, copy/paste is handled by the 
wxTextCtrl).

Am I missing something? I've tried disabling the top window accelerator 
keys (no joy) and using the wxEX_BLOCK_EVENTS style when creating the 
window (no joy).

Any help or suggestions are very welcome.

Thanks in advance,

Tony.

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/d0365e85-d01a-4402-9b75-c3c5d1fcf204n%40googlegroups.com.