[Git][wxwidgets/wxwidgets][master] 2 commits: Fix drawing of wxCheckListBox in dark mode in wxMSW

0 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Jun 6, 2026, 9:49:46 PM (8 hours ago) Jun 6
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • d93210dd
    by Vadim Zeitlin at 2026-06-07T03:07:30+02:00
    Fix drawing of wxCheckListBox in dark mode in wxMSW
    
    Use "DarkMode_Explorer::Button" for the check box metrics and drawing as
    "BUTTON" theme simply doesn't support them in dark mode and using it
    resulted in check boxes in wxCheckListBox not being drawn at all.
    
    Closes #26561.
    
  • f12b247d
    by Steve Cornett at 2026-06-07T03:15:08+02:00
    Implement support for switching between light/dark modes in wxMSW
    
    Replace MSWGetDarkModeSupport() with MSWSetDarkOrLightMode() which can
    now be called to initialize dark mode for a window or to switch it from
    one mode to the other and call this function when the mode changes.
    
    Closes #26516.
    

33 changed files:

The diff was not included because it is too large.
Reply all
Reply to author
Forward
0 new messages