Re: Problems with wxWidgets under wayland

Vadim Zeitlin <[email protected]> Thu, 15 Jan 2026 12:35:03 +0100
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Thu, 15 Jan 2026 09:54:36 +0100 (CET) 'Jouk Jansen' via wx-users wrote:

JJ> When I try to run a program, that works fine under
JJ> Xorg, DecWindows & Msoftwindows, using wayland I do not see everything
JJ> displayed on the screen. Below is an example of the problem code. I try to
JJ> catch mouse-movements and write the coordinates (note that actually filling
JJ> "text" is omitted in the example) to the screen. When using wayland
JJ> everyting that is assigned to the dc (wxClientDC) is not visible. I tried to
JJ> "this->Refresh()" on the canvas, but that did not help. What am I missing?
JJ> And why is this a problem only when using wayland?

 There is a big and very prominent note on

	https://docs.wxwidgets.org/latest/classwx_client_d_c.html

explaining this.

 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+vLQdOwioQqkxtoG6kHeT2wehgUCaWjQ5wAKCRAG6kHeT2we
hgU9AJ9qcKGd2sjBjOVuD7gU2pGegiFsVQCfQi0O3InQwAft4Z6rXxG9XwJZIxI=
=q70E
-----END PGP SIGNATURE-----