Enable macOS 26 Tahoe look, no matter what, still fails in dark mode (PR #26094)

8 views
Skip to first unread message

RobertRoeb

unread,
5:56 AM (6 hours ago) 5:56 AM
to wx-...@googlegroups.com, Subscribed
  • Don't override drawRect (and as such disable user code drawing in all native controls) to avoid legacy rendering
  • Likewise for wxPanel, which will break a lot of code, to avoid legacy rendering
  • Disable wxSIMPLE_BORDER and NO_BORDER in wxTextCtrl to avoid legacy rendering
  • Still fails for multi-line wxTextCtrl
  • Still fails with legacy background for all controls drawing into window, including wxTreeCtrl
  • This patch cannot be applied, but might be helpful and may help think about a better solution

On the screenshot, you can see a wxTreeBook using the generic wxTreeCtrl with the wrong background. Many other controls render nicely, but at the price of disable any drawing in wxPanel.

Tahoe.look.png (view on web)

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

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

Commit Summary

  • 05898cf Enable macOS 26 Tahoe look, no matter what, still fails in dark mode

File Changes

(18 files)

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

Reply all
Reply to author
Forward
0 new messages