I've got a wxPython app that worked fine under 2.4.0.4 on Python2.2 on Windows but now with 2.4.0.7 I see my list control briefly appear and then it gets erased leaving a white background. If I pass the cursor over it, the headings and scroll bar will appear. Scrolling the window causing entries to appear but it will disappear if minimized and restored.
The app has the following structure:
Frame
Vertical Splitter
Notebook
Horizontal Splitter
List Ctrl
Text Ctrl
Tree Ctrl
I see the Text Ctrl but not the List ctrl. It worked before the latest upgrade.
Any suggestions on where to look for this problem? I'm currently hacking a cut down version of my app trying to get to the minimum subset that demonstrates the problem.
I've got a wxPython app that worked fine under 2.4.0.4 on Python2.2 on Windows but now with 2.4.0.7 I see my list control briefly appear and then it gets erased leaving a white background. If I pass the cursor over it, the headings and scroll bar will appear. Scrolling the window causing entries to appear but it will disappear if minimized and restored.
I don't think anything changed at all in the MSW wxListCtrl between those versions. There was a change in the generic list ctrl (used for wxMac and wxGTK) but not on wxMSW...
More likely is a layout or window parenting issue. Something may be causing some other widow to briefly overlay the list ctrl and the list ctrl is not refreshing itself properly.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!