Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/Window.SetBackgroundStyle.1.py
2012-04-10 03:16:37 +00:00

18 lines
443 B
Python

class MyWidget(wx.Window):
def __init__(self, parent):
pre = wx.PreWindow() # Use Pre- constructor here!
# Do this first:
self.SetBackgroundStyle(wx.BG_STYLE_TRANSPARENT)
# And really create the window afterwards:
pre.Create(parent)
self.PostCreate(pre)