]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/demo/ColorPanel.py
doc tweaks, typo fixed, etc.
[wxWidgets.git] / wxPython / demo / ColorPanel.py
... / ...
CommitLineData
1# 11/4/03 - grimmtooth@softhome.net (Jeff Grimmett)
2#
3# o Updated for wx namespace
4#
5# Note: this module is not a demo per se, but is used by many of
6# the demo modules for various purposes.
7
8import wx
9
10#---------------------------------------------------------------------------
11
12
13class ColoredPanel(wx.Window):
14 def __init__(self, parent, color):
15 wx.Window.__init__(self, parent, -1, style = wx.SIMPLE_BORDER)
16 self.SetBackgroundColour(color)
17
18#---------------------------------------------------------------------------
19