[wxPython-users] screen 'repaint' issues

scott scott at ebbyfish.com
Thu Jun 1 19:13:30 PDT 2006


Robin Dunn wrote:
> Scott Mallory wrote:
>> Greetings all,
>> I'm sorry if this has been addressed in the past but I can't seem to =

>> find a solution...
>>
>> The problem:
>>
>> When dynamically loading a new panel in my app, the app underneath =

>> (if there is one) 'shines through', also my app seems to lose focus =

>> and I have to click on the task bar to get it back into focus.
>
> Without more code it's really hard to even guess.  Please make a small =

> sample app that shows the problem.

Here is a small jpg of the problem. SPE is underneath the app in this =

pic, also the app has lost focus. These behaviors occur even when I run =

it as an exe with nothing else underneath.

This 'shining' or 'bleed through' happens when I build the panel for the =

first time after that it behaves normally.

Thanks for any feedback.
Scott

>
>> I have the following styles on the Parent Frame, I'm not sure if they =

>> are helping or hindering...
>>
>> ... style=3Dwx.DEFAULT_FRAME_STYLE  | wx.TAB_TRAVERSAL
>>                               | wx.CLIP_CHILDREN
>>                               | wx.CLIP_SIBLINGS
>>                               | wx.NO_FULL_REPAINT_ON_RESIZE  )
>
>
> wx.NO_FULL_REPAINT_ON_RESIZE is now on by default, as well as =

> wx.CLIP_CHILDREN.  wx.CLIP_SIBLINGS will probably have no effect on =

> top-level windows like a wx.Frame.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repaint_issue.jpg
Type: image/jpeg
Size: 46571 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060=
601/916deb87/repaint_issue.jpg


More information about the wxpython-users mailing list