wxWindowUpdateLocker noUpdates(control);
Hm, my commit is 8798 and I don't think it is the cause for the problem.nope, I think this problem is already present for some long time
killerbot: do you have a working version?
Yes, but you cannot tell from the commit itself.It's not obvious, that wxWindowUpdateLocker clears the selection, it's also not documented and might be a bug in wxWidgets.
Hm, isn't it safer to save the selection and then restore it (if there is API available)?
Have you tried to build a larger project with lots of warnings to see what is the performance?No.