mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-10 13:57:08 +01:00
17 lines
414 B
Python
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)
|
|
|
|
|
|
|
|
|