VZ wrote on 15-JAN-2026 12:35:28.53
>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.
Thanks. That explains and probably help to get a working version.
Jouk
Pax, vel iniusta, utilior est quam iustissimum bellum.
(free after Marcus Tullius Cicero (106 b.Chr.-46 b.Chr.)
Epistularum ad Atticum 7.1.4.3)
Touch not the cat bot a glove
>------------------------------------------------------------------------------<
Jouk Jansen
jo...@hrem.nano.tudelft.nl
Technische Universiteit Delft tttttttttt uu uu ddddddd
Kavli Institute of Nanoscience tttttttttt uu uu dd dd
Nationaal centrum voor HREM tt uu uu dd dd
Lorentzweg 1 tt uu uu dd dd
2628 CJ Delft tt uu uu dd dd
Nederland tt uu uu dd dd
tel.
+31-15-2782272 tt uuuuuuu ddddddd
>------------------------------------------------------------------------------<