Re: (wx-users) Re: Problems with wxWidgets under wayland

"'Jouk Jansen' via wx-users" <[email protected]> Thu, 15 Jan 2026 12:45:46 +0100 (CET)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
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
		 
  [email protected]

  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

>------------------------------------------------------------------------------<

-- 
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/26011512454671_41A00464%40hrem.nano.tudelft.nl.