Enable transparent background on Windows (PR #23498)

95 views
Skip to first unread message

Maarten

unread,
Apr 26, 2023, 6:33:43 PM4/26/23
to wx-...@googlegroups.com, Subscribed

When the wxWindow background style is set to wxBG_STYLE_TRANSPARENT, set the WS_EX_TRANSPARENT style flag.

Closes #23412


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

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

Commit Summary

  • 0d3b680 Enable transparent background on Windows

File Changes

(1 file)

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/23498@github.com>

Maarten

unread,
Apr 26, 2023, 6:36:29 PM4/26/23
to wx-...@googlegroups.com, Subscribed

I only read #23412 (comment) now. Will update the PR tomorrow

Be it as may, it would certainly be nice to support wxBG_STYLE_TRANSPARENT in master. We just need to also override IsTransparentBackgroundSupported() in wxWindowMSW and also update the docs to mention that it's supported there too.


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/23498/c1524123456@github.com>

Maarten

unread,
Apr 27, 2023, 6:45:21 PM4/27/23
to wx-...@googlegroups.com, Push

@MaartenBent pushed 1 commit.

  • 06b04b1 Enable transparent background on Windows


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/23498/push/13453288867@github.com>

VZ

unread,
Apr 28, 2023, 10:43:35 AM4/28/23
to wx-...@googlegroups.com, Subscribed

Thanks! I'd like to test this is a bit before apply, but perhaps you already did and can tell if it works only when compositing is on (in which case we should mention this in the docs too) or if it somehow manages to work without it too?


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/23498/c1527675461@github.com>

VZ

unread,
May 11, 2023, 5:50:46 PM5/11/23
to wx-...@googlegroups.com, Subscribed

Sorry, I've realized that this was already discussed/tested in #23412 and my own simple test confirms that it works both with and without compositing, so I've just merged this as is.

Thanks again!


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/23498/c1544731096@github.com>

VZ

unread,
May 11, 2023, 5:50:47 PM5/11/23
to wx-...@googlegroups.com, Subscribed

Closed #23498.


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/23498/issue_event/9227138559@github.com>

Reply all
Reply to author
Forward
0 new messages