Fix ListCtrl::HitTest() on wxMSW not accounting for column header (PR #26948)

13 views
Skip to first unread message

PB

unread,
Aug 28, 2026, 1:57:02 PM (4 days ago) Aug 28
to wx-...@googlegroups.com, Subscribed

When the coordinates were on the column header, HitTest() unexpectedly returned the index of the topmost visible item instead of wxNOT_FOUND.

See #22239.


This was fixed thanks to @gix, who provided the solution in #22239.

I am not closing #22239, since it also describes a similar problem on macOS, which, of course, may have been somehow fixed since but I cannot test it.


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

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

Commit Summary

  • 0316c44 Fix ListCtrl::HitTest() on wxMSW not accounting for column header

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26948@github.com>

VZ

unread,
Aug 30, 2026, 7:02:48 PM (2 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26948)

Thanks for fixing and testing this!

I'll close the other issue as it's 99% about wxMSW and if the problem still exists in wxOSX, I'll let someone open a new issue about it.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26948/c5471803701@github.com>

VZ

unread,
Aug 30, 2026, 7:23:05 PM (2 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed

Closed #26948 via 375889c.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26948/issue_event/30249432333@github.com>

Reply all
Reply to author
Forward
0 new messages