I am stuck on this and am hoping someone might have an suggestion.
I have a gizmos.TreeListCtrl in my gui. Its parent is a
wx.SplitterWindow(). Sometimes when the gui starts up the TreeListCtrl
is partially or fully blank (with the main windows background color).
This happens about 20% of the time. Anyone have any suggestions?
Does it correct itself if you manually nudge the size of the frame a bit? If so then adding a Layout() call in the init code will probably help it. Otherwise please send a small runnable sample that shows the problem so we can help you with it. MakingSampleApps - wxPyWiki
···
On 2/5/10 5:44 PM, yl wrote:
Hi,
I am stuck on this and am hoping someone might have an suggestion.
I have a gizmos.TreeListCtrl in my gui. Its parent is a
wx.SplitterWindow(). Sometimes when the gui starts up the TreeListCtrl
is partially or fully blank (with the main windows background color).
This happens about 20% of the time. Anyone have any suggestions?
Thanks for getting back to me. I had my .Refresh and .Update calls in
a wx.CallAfter(), and pulling them out seemed to fix the problem (has
not come up again in past 3 weeks). They were in there because every
so often I end up with left garbage items at the bottom of my list.
CallAfter was an attempt to fix that issue. I will add a separate post
for that issue issue.
-yancy
···
On Feb 6, 12:33 pm, Robin Dunn <ro...@alldunn.com> wrote:
On 2/5/10 5:44 PM, yl wrote:
> Hi,
> I am stuck on this and am hoping someone might have an suggestion.
> I have agizmos.TreeListCtrl in my gui. Its parent is a
> wx.SplitterWindow(). Sometimes when the gui starts up the TreeListCtrl
> is partially or fully blank (with the main windows background color).
> This happens about 20% of the time. Anyone have any suggestions?
Does it correct itself if you manually nudge the size of the frame a
bit? If so then adding a Layout() call in the init code will probably
help it. Otherwise please send a small runnable sample that shows the
problem so we can help you with it.MakingSampleApps - wxPyWiki
--
Robin Dunn
Software Craftsmanhttp://wxPython.org