wxListCtrl not redrawn correctly when scrolling
|Reported by:||trivia21||Owned by:|
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 (9)
comment:2 Changed 21 months ago by vadz
- Cc ericj added
- Keywords regression added
- Status changed from new to confirmed
comment:8 Changed 21 months ago by VZ
- Resolution set to fixed
- Status changed from confirmed to closed