OSX: choose grey tone for selection background in dark mode (PR #26035)

15 views
Skip to first unread message

RobertRoeb

unread,
Dec 16, 2025, 3:00:55 PM (4 days ago) Dec 16
to wx-...@googlegroups.com, Subscribed
  • After hours of testing all available NSColor styles I could not find one that would work in my test cases and/or is available on all supported version of OSX.
  • 110,110,110 is well readable on super dark grey of e.g. wxListBox and less grey used in other cases, without being too bright like the existing grey

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

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

Commit Summary

  • 0c71c3f OSX: choose colour for selection background in darkmode

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

RobertRoeb

unread,
Dec 19, 2025, 2:35:56 PM (14 hours ago) Dec 19
to wx-...@googlegroups.com, Push

@RobertRoeb pushed 1 commit.

  • 9b197e5 Use NSColor constants in OSX >10.4 for selected items


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26035/before/0c71c3f7bdfe0216d49a5f9771522b20758c81a0/after/9b197e5093ae88936e235108cd59b93672fa3f09@github.com>

RobertRoeb

unread,
Dec 19, 2025, 2:38:25 PM (14 hours ago) Dec 19
to wx-...@googlegroups.com, Push

@RobertRoeb pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26035/before/9b197e5093ae88936e235108cd59b93672fa3f09/after/7ba325bb376a87ce50ae4d7473590ddd07475f53@github.com>

RobertRoeb

unread,
Dec 19, 2025, 2:40:02 PM (14 hours ago) Dec 19
to wx-...@googlegroups.com, Subscribed
RobertRoeb left a comment (wxWidgets/wxWidgets#26035)

I have now added OSX 10.4 code using NSColor (which adapts to dark mode itself) and the mix of wxMacCreateCGColorFromHITheme and hardcoded dark mode.


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

Reply all
Reply to author
Forward
0 new messages