]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ColorPanel.py
Build fix for motif.
[wxWidgets.git] / wxPython / demo / ColorPanel.py
index a5b6a91cc7181629265d4e48fddf36b32a772a8b..3bb606066de49f079a17c4889a11378ac6b0668b 100644 (file)
@@ -12,6 +12,8 @@ class ColoredPanel(wx.Window):
     def __init__(self, parent, color):
         wx.Window.__init__(self, parent, -1, style = wx.SIMPLE_BORDER)
         self.SetBackgroundColour(color)
+        self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
+
 
 #---------------------------------------------------------------------------