projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b13569
)
Use SetBackgroundStyle for wxGTK
author
Robin Dunn
<robin@alldunn.com>
Thu, 4 May 2006 02:08:47 +0000
(
02:08
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Thu, 4 May 2006 02:08:47 +0000
(
02:08
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39015
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/demo/ColorPanel.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/demo/ColorPanel.py
b/wxPython/demo/ColorPanel.py
index a5b6a91cc7181629265d4e48fddf36b32a772a8b..3bb606066de49f079a17c4889a11378ac6b0668b 100644
(file)
--- 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)
+
#---------------------------------------------------------------------------