[wxWidgets/wxWidgets] 5bd892: Fix dark mode selection in list controls in latest...

0 views
Skip to first unread message

Fefe_du_973

unread,
May 31, 2026, 6:03:48 PM (10 days ago) May 31
to wx-co...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/wxWidgets/wxWidgets
Commit: 5bd892f7ac21eb007e1ebb0e5e00c492c17580f8
https://github.com/wxWidgets/wxWidgets/commit/5bd892f7ac21eb007e1ebb0e5e00c492c17580f8
Author: Fefedu973 <80718477+...@users.noreply.github.com>
Date: 2026-05-31 (Sun, 31 May 2026)

Changed paths:
M include/wx/msw/listbox.h
M src/msw/choice.cpp
M src/msw/listbox.cpp

Log Message:
-----------
Fix dark mode selection in list controls in latest Windows 11

This limits the dark-mode theme applied to native list HWNDs to the
ScrollBar class instead of applying a full list/control theme which made
the text of the selected items unreadable in Windows 26300.8553
(Windows 11 Insider).

The main combobox control still keeps the existing CFD theme, preserving
the dark drop button/trigger. The popup list HWND for wxChoice and
wxComboBox and standalone wxListBox now use Explorer with the ScrollBar
sub-id so scrollbars remain dark without applying the list item theme
that makes selected rows unreadable.

Fixes #26535.

Closes #26538.



To unsubscribe from these emails, change your notification settings at https://github.com/wxWidgets/wxWidgets/settings/notifications
Reply all
Reply to author
Forward
0 new messages