]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/ColorPanel.py
removed useless PM_USE_SESSION_APIS define (it must be defined in MacHeaders
[wxWidgets.git] / wxPython / demo / ColorPanel.py
1
2 from wxPython.wx import *
3
4 #---------------------------------------------------------------------------
5
6
7 class ColoredPanel(wxWindow):
8 def __init__(self, parent, color):
9 wxWindow.__init__(self, parent, -1,
10 wxDefaultPosition, wxDefaultSize, wxRAISED_BORDER)
11 self.SetBackgroundColour(color)
12
13 #---------------------------------------------------------------------------