It seemed to me that the Window is automatically getting the
wx.CLIP_CHILDREN style. After a little digging I found that this is
true since 2.5.4 and that
wx.SystemOptions.SetOptionInt('msw.window.no-clip-children', 1)
will get rid of that behavior. So your example works after I add that
line (I put it right after "app = PySimpleApp()")
Once you've set that option, you'll probably want to add
wx.CLIP_CHILDREN to the styles of any windows where you don't need this
transparent effect.
-Paul
ยทยทยท
-----Original Message-----
From: Michele Petrazzo [mailto:michele.petrazzo@unipex.it]
Sent: Monday, September 11, 2006 12:30 PM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] static text and transparent background
Gavana, Andrea wrote:
I know that method, but for my app I want, if I can of course, use a
wxStaticText. If there isn't this possibility I'll use your!Have you tried with wx.lib.stattext.GenStaticText or whatever is its
name?
Just now
You may have more luck with that, but I have no idea
Still the same.
Robin will now for sure what you could do to implement your idea,
I hope that!
I just run out of intelligent/insightful comments
All the help are welcome, always!
Andrea.
Ciao,
Michele
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org