Good. I think that finally I have a workable (if partial) answer to the flicker problem.
I found that a number of people had success, mainly with flickering images, by enabling double buffering on the panel. Therefore, in the MessagesTab () class, after initializing wx.Panel, I inserted a line;
self.SetDoubleBuffered(True)
This made the list management update smoother, but resizing the GUI or mousing over the column headers of the listctrl will make the content too flicker or disappear completely. Being Windows 7, the title is highlighted according to the OS theme when the mouse is on it. Since this, apparently, was the reason that my workaround was to add the wx.LC_NO_HEADER flag to the MessageList () style argument. Thus, listctrl does not have a title, but nothing causes the text to flicker or disappear, and I can replace it with some kind of static text. Resizing is also not a problem.
So maybe there is a problem with the events generated in the column headers?
source share