]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/ColorPanel.py
Change demo to not try to drop the table when it thinks it is creating it for the...
[wxWidgets.git] / wxPython / demo / ColorPanel.py
CommitLineData
cf694132
RD
1
2from wxPython.wx import *
3
4#---------------------------------------------------------------------------
5
6
7class ColoredPanel(wxWindow):
8 def __init__(self, parent, color):
9 wxWindow.__init__(self, parent, -1,
10 wxDefaultPosition, wxDefaultSize, wxRAISED_BORDER)
11 self.SetBackgroundColour(color)
12
8bf5d46e 13#---------------------------------------------------------------------------