]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/demo/ColorPanel.py
applied patch for calculating the tree items size with non default font (patch 520965)
[wxWidgets.git] / wxPython / demo / ColorPanel.py
... / ...
CommitLineData
1
2from wxPython.wx import *
3
4#---------------------------------------------------------------------------
5
6
7class ColoredPanel(wxWindow):
8 def __init__(self, parent, color):
9 wxWindow.__init__(self, parent, -1, style = wxSIMPLE_BORDER) #wxRAISED_BORDER)
10 self.SetBackgroundColour(color)
11
12#---------------------------------------------------------------------------