Wrong background for some wxRendererNative functions in dark mode (Issue #25792)

17 views
Skip to first unread message

tmodes-dev

unread,
Sep 12, 2025, 10:39:06 AM (3 days ago) Sep 12
to wx-...@googlegroups.com, Subscribed
tmodes-dev created an issue (wxWidgets/wxWidgets#25792)

Description

wxRendererNative does not draw correctly some controls when in dark mode.
This can be seen in the unmodified render sample (see screenshot)

screenshot_render.png (view on web)

This affects

  • DrawHeaderButton: wrong background, colors of the text have been changed.
  • DrawCollapseButton: wrong background, collapse icon not visible (white?)
  • DrawChoice and DrawTextCtrl: unchanged by dark mode setting/

Platform and version information

  • wxWidgets version 3.3.2 (from git, commit 771d4df)
  • wxWidgets port wxMSW
  • OS Windows 11 24h2 Build 26100.6584


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

VZ

unread,
Sep 13, 2025, 8:42:05 AM (3 days ago) Sep 13
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25792)

Some of those could probably be fixed by calling ::SetWindowTheme(hwnd, "EXPLORER") but we are probably going to have to provide manual implementations for some others 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/issues/25792/3288301735@github.com>

Reply all
Reply to author
Forward
0 new messages