Fix wxHTML BODY background colour in print rendering (PR #26677)

7 views
Skip to first unread message

Richard Thomson

unread,
Jul 8, 2026, 5:19:54 PM (yesterday) Jul 8
to wx-...@googlegroups.com, Subscribed

Store BODY BGCOLOR in the wxHTML parser state even when there is no window interface, then carry the parsed colour onto the renderer root cell so wxHtmlDCRenderer fills printed pages with it instead of white.

Add a renderer regression test covering BODY BGCOLOR output.

Fixes #20652.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26677

Commit Summary

  • 22ea405 Fix wxHTML BODY background colour in print rendering

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26677@github.com>

Reply all
Reply to author
Forward
0 new messages