# HG changeset patch # User Andrey Skvortsov # Date 1484558578 -10800 # Node ID ad3dee8b6d489c0ef086ff19a5172c63ffba3734 # Parent 25e3bf6e193ddc9a5b06acc572abf9ff480f3b3b 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. diff -r 25e3bf6e193d -r ad3dee8b6d48 controls/PouInstanceVariablesPanel.py --- 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