VListBox and HtmlListBox refresh problem

It seems to be working fine here with the latest 2.9.x release. Perhaps you should upgrade.

···

On 9/5/12 7:40 AM, Dmitry Kabakchey wrote:

Hi,
Can anyone help me with following issue?

I use VListBox and HtmlListBox in my project and meet some issues with
refreshing of those elements.

When it is time to refresh the window I get picture like shown on Pic 2
(screens.png). After few moments it become normal (Pic 3, screens.png).
Here is a sequence of events:
1. Calling Refresh() method for element
2. System redraws all items in element but starting to draw them at
position of second item
3. System calls OnGetItem for HtmlListBox for every item (or OnDrawItem
for VListBox)
4. System redraws all items on their normal places

Same appears both with HtmlListBox and VListBox

Tested on Windows 7 and Windows XP
wxPython version: 2.8.12.1 (msw-unicode)

--
Robin Dunn
Software Craftsman