beremiz

Parents 25e3bf6e193d
Children 6f4624687b89
change white background for icons in PouInstanceVariablePanel to transparent

in wxPython 2.8 panel has white background and therefore white
background is appropriate, but in wxPython 3.0 panel has grey
background (on GNU/Linux and on Windows).
Transparent background looks good on both wxPython versions and on all platforms.
--- a/controls/PouInstanceVariablesPanel.py Mon Jan 16 12:15:20 2017 +0300
+++ b/controls/PouInstanceVariablesPanel.py Mon Jan 16 12:22:58 2017 +0300
@@ -93,7 +93,7 @@
images_bbx = self.GetItemRightImagesBBox(item)
r_image_w, r_image_h = self._imageListRight.GetSize(rightimages[0])
- dc.SetBrush(wx.WHITE_BRUSH)
+ dc.SetBrush(wx.TRANSPARENT_BRUSH)
dc.SetPen(wx.TRANSPARENT_PEN)
bg_width = (r_image_w + 4) * len(rightimages) + 4