Show generic `wxTreeCtrl` in the sample and improve its colours under MSW (PR #26123)

16 views
Skip to first unread message

VZ

unread,
Jan 27, 2026, 6:29:14 PM (5 days ago) Jan 27
to wx-...@googlegroups.com, Subscribed

This addresses #26118 (also for generic list control) and also slightly improves the generic control appearance in dark mode, even though it is still not at all the same as Explorer, unfortunately.


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

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

Commit Summary

  • 92f64b0 Initialize MyFrame members in the declarations in treectrl sample
  • 04d587a Initialize MyTreeCtrl members in their declarations too
  • 56b18f6 Move TreeCtrlIcon_XXX enum out of MyTreeCtrl
  • 35ec944 Add wxIMPLEMENT_DYNAMIC_TEMPLATE_SPECIALIZATION()
  • 9b692ec Use Bind() instead of event table for MyTreeCtrl
  • 0496e51 Allow using either native or generic wxTreeCtrl in the sample
  • a80d0e6 Map wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to LISTBOXTEST in wxMSW
  • 9be6cb4 Don't use wxSYS_COLOUR_HIGHLIGHTTEXT for selected items
  • 6deab05 Improve drawing selected items background in wxMSW dark mode

File Changes

(9 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/26123@github.com>

VZ

unread,
Jan 27, 2026, 7:11:06 PM (5 days ago) Jan 27
to wx-...@googlegroups.com, Push

@vadz pushed 6 commits.

  • 9b312ab Add wxIMPLEMENT_DYNAMIC_TEMPLATE_SPECIALIZATION()
  • 9330da3 Use Bind() instead of event table for MyTreeCtrl
  • 1d8173e Allow using either native or generic wxTreeCtrl in the sample
  • 22e93d7 Map wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to LISTBOXTEST in wxMSW
  • 72c9f7e Don't use wxSYS_COLOUR_HIGHLIGHTTEXT for selected items
  • 4788cf9 Improve drawing selected items background in wxMSW dark mode


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26123/before/6deab059651f4528f5322a2153b17b0f09dc2c1f/after/4788cf98a8edfd92cba950928fe13f2df7e5083c@github.com>

dsa-t

unread,
Jan 29, 2026, 5:30:31 PM (3 days ago) Jan 29
to wx-...@googlegroups.com, Subscribed
dsa-t left a comment (wxWidgets/wxWidgets#26123)

Thanks! Seems to work as expected.


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

VZ

unread,
Jan 29, 2026, 6:10:03 PM (3 days ago) Jan 29
to wx-...@googlegroups.com, Subscribed

Merged #26123 into master.


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/26123/issue_event/22390668786@github.com>

Reply all
Reply to author
Forward
0 new messages