Skip to content

wxComboCtrl does not support dark mode on MSW #23766

Description

@PBfordev

Description

wxComboCtrl/wxOwnerDrawnComboBox on Windows using dark mode do not use the dark colors properly. The issue can be seen in the unmodified combo sample:
wx-combo-darkmode

If the issue cannot be fixed, perhaps it should be added to the list of known issues in MSW dark mode in wxApp::MSWEnableDarkMode() docs.

To Reproduce:

  1. Make sure Windows is set to dark mode and environment variable wx_msw_dark_mode is set to 1.
  2. Run the combo box sample.
  3. From the menu choose "Compare against wxComboBox...".
  4. Observe the differences between the controls on the left and right side of the dialog.

Platform and version information

  • wxWidgets version: current GIT master
  • wxWidgets port: wxMSW
  • OS: Windows 10 22H2 v19045.3324

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    MSWdark modeMSW dark mode implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions