OSX transparent controls background (PR #26090)

13 views
Skip to first unread message

Stefan Csomor

unread,
Jan 10, 2026, 2:00:11 PM (yesterday) Jan 10
to wx-...@googlegroups.com, Subscribed

macOS has transparent backgrounds for controls like statictext, or the text part of checkboxes etc, also nested group boxes get different shades of gray, avoids background erase, see #26088


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

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

Commit Summary

  • c61a346 set transparent background on certain native controls
  • 626e20b switch approach to common method

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26090@github.com>

VZ

unread,
Jan 10, 2026, 3:34:55 PM (yesterday) Jan 10
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26090)

Should I merge this and close #26088 or do you plan more changes here?

Also, should this be backported to 3.2?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26090/c3733495695@github.com>

Stefan Csomor

unread,
Jan 10, 2026, 3:56:59 PM (24 hours ago) Jan 10
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26090)

@vadz it should replace it yes, but first we need confirmation from @RobertRoeb that it solves his problems as well, and if we get enough coverage on master, then backporting it would be a good idea


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26090/c3733545457@github.com>

Stefan Csomor

unread,
3:29 AM (12 hours ago) 3:29 AM
to wx-...@googlegroups.com, Push

@csomor pushed 1 commit.

  • 1ed2082 remove whitespace only change


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26090/before/626e20b0dbb65a737b8eebd48ccd8df62e3773b5/after/1ed2082758edf488756bc3fde4e6facb6baadbf6@github.com>

RobertRoeb

unread,
3:49 AM (12 hours ago) 3:49 AM
to wx-...@googlegroups.com, Subscribed
RobertRoeb left a comment (wxWidgets/wxWidgets#26090)

Thanks, it works!
BTW, I had tried setting that BG style myself, and even just tried again, but in a slightly different stage of control creation process, and it had/has no effect.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26090/c3734256634@github.com>

Stefan Csomor

unread,
3:52 AM (12 hours ago) 3:52 AM
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26090)

Thanks, it works! BTW, I had tried setting that BG style myself, and even just tried again, but in a slightly different stage of control creation process, and it had/has no effect.

perfect, thanks a lot for testing


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26090/c3734261382@github.com>

Stefan Csomor

unread,
3:53 AM (12 hours ago) 3:53 AM
to wx-...@googlegroups.com, Subscribed

Merged #26090 into master.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26090/issue_event/21969001769@github.com>

Reply all
Reply to author
Forward
0 new messages