Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.SetBackgroundStyle.1.py
2016-05-18 16:38:18 -07:00

17 lines
414 B
Python

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