From: Robin Dunn Date: Thu, 4 May 2006 02:08:47 +0000 (+0000) Subject: Use SetBackgroundStyle for wxGTK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1e19282e1060d2547e0a294a6821b3954d59dc19 Use SetBackgroundStyle for wxGTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/ColorPanel.py b/wxPython/demo/ColorPanel.py index a5b6a91cc7..3bb606066d 100644 --- a/wxPython/demo/ColorPanel.py +++ b/wxPython/demo/ColorPanel.py @@ -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) + #---------------------------------------------------------------------------