[wxpython-users] wx.statictext transparent
Mariano Di Felice
mariano.difelice at gmail.com
Thu Apr 3 06:49:10 PDT 2008
Hy guys,
I will want show a frame, with in a wxPanel which shows an image as
background.
Well, when I add to panel a statictext, ( I work under window platform
), I can't show it with transparent background.
And so, I decide to implement MyStaticText, inheriting wx.StaticText
class and overrinding OnPaint method.
All works well, but if I add 2 ( or more ) MyStaticText, labels draws
wrongs label.
Why????
In attachment, you will find a test.py demo source and an image which
will be the panel background.
Thx very much for everyone solve this!!!
Bye
-- =
/\/\ariano Di Felice
Java PHP Python Ruby programmer
with MySQL, PostgreSql, SQLite and Oracle support
Linux Platform Developer
http://www.marianodifelice.it
mariano.difelice at gmail.com
Tel. 0735 703735
Cell +39 339 6407211
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 3748 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20080=
403/e252e975/test-0001.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img.jpg
Type: image/jpeg
Size: 43550 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20080=
403/e252e975/img-0001.jpg
More information about the wxpython-users
mailing list