Post #2487755
2026-04-01 04:37 UTC
I derive my above conclusion with wxDC under GTK 3 Wayland because wxDC::GetGraphicsContext() returns a non-null DC when using a wxPaintDC. Consider this following code executed inside a paint handler:
wxPaintDC dc(this);
wxASSERT(dc.GetGraphicsContext());
When executed, no assertion is tripped if running with GTK 3 under Wayland with wxWidgets 3.2.10.
Replies (0)
No replies.