Ticket #3224 (confirmed defect)
wxListBox's EnsureVisible not implemented in wxMSW
| Reported by: | jejackson | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | wxMSW | Version: | |
| Keywords: | wxListBox simple | Cc: | jejackson, leio |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
I've tried using wxListBox's EnsureVisible to make sure that top element
of a list box is the displayed item.
However, if there is a selection that would be out-of-view, it always
scrolls to that one instead of what EnsureVisible is set to.
Code snippet: (wxPython)
listBox.SetSelection(10)
listBox.EnsureVisible(0)
always shows item 10, and not item 0.
It appears from looking at the sources that this was never implemented.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

