Re[2]: Handling wxKeyEvent in another wxStyledTextCtrl

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Thu, 27 Jul 2023 15:04:09 -0700 (PDT) Eran Ifrah wrote:

EI> So, If I was to use `wxTextCtrl` as the receiving control, it should work? 
EI> (i.e. can I move the event by simply calling ProcessEvent()?)

 No, not at all, wxTextCtrl is also not implemented in wx but wraps a
native control. ProcessEvent() has no chance of working with anything not
written using wx itself.

 Regards,
VZ

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

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZMLruwAKCRAG6kHeT2we
htsTAJ91Te8VFTDtyPCNc7NkyCQgCBaiiQCcCKr6CgkcmDHf53RM9ffn/seFx/0=
=iKMC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.