callback strangeness?

Cees de Groot cg at cdegroot.com
Tue Mar 15 15:54:10 UTC 2005


Ok, what I just found out (probably the last bit for a while...) is that  
this happens when I add an item to the list while I am looking at it  
'through' a WxListCtrl (or better, my pluggable descendant of it).

The code in question shows the results of a p2p search. Items are slowly  
dripping in. I start the search, then navigate to the list which shows one  
found item. Then I wait a bit, move the mouse - a second hit shows up  
(refresh issue?) and immediately afterwards the assert triggers and the  
whole thing crashes and burns (it hits on a nested/re-enterered assert()  
so it really barfs instead of just politlely popping up the wx assert  
dialog).




More information about the Wxsqueak mailing list