X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec873c943d71f0d5f13e3398557071448cda6c23..a4027e74873007e3430af3bd77019bcab76f6c04:/wxPython/demo/ColorPanel.py diff --git a/wxPython/demo/ColorPanel.py b/wxPython/demo/ColorPanel.py deleted file mode 100644 index 29ef92c1c1..0000000000 --- a/wxPython/demo/ColorPanel.py +++ /dev/null @@ -1,20 +0,0 @@ -# -# Note: this module is not a demo per se, but is used by many of -# the demo modules for various purposes. -# - -import wx - -#--------------------------------------------------------------------------- - - -class ColoredPanel(wx.Window): - def __init__(self, parent, color): - wx.Window.__init__(self, parent, -1, style = wx.SIMPLE_BORDER) - self.SetBackgroundColour(color) - if wx.Platform == '__WXGTK__': - self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM) - - -#--------------------------------------------------------------------------- -