Ticket #14852 (closed defect: fixed)
wxListCtrl not redrawn correctly when scrolling
| Reported by: | trivia21 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.5 |
| Component: | wxGTK | Version: | 2.9-svn |
| Keywords: | regression | Cc: | ericj |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
wxListCtrl handles wxEVT_SCROLLWIN_LINEUP line up (and down) events incorrectly. It scrolls two lines instead of one, and the second line is only partly or not at all redrawn.
The bug was introduced in revision 72939 by VZ. I soved the problem by changing line 206 of trunk/src/generic/scrlwing.cpp back to "if ( processed )" form "if ( processed && event.IsCommandEvent())". Though I'm not aware of all the consequences of this change.
I suspect this problem (at least the scrolling two lines part) is somehow related to wxListCtrl sending duplicate events (see http://forums.wxwidgets.org/viewtopic.php?f=1&t=36358).
Change History
Note: See
TracTickets for help on using
tickets.
