branch | python3 |
changeset 3793 | 9958cf865da0 |
parent 3773 | ab11852616b8 |
child 3798 | e0117f4b0ff1 |
--- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Wed Apr 12 19:32:38 2023 +0200 +++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Wed Apr 12 21:05:00 2023 +0200 @@ -1361,8 +1361,6 @@ # Get bitmap of figure rendered self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None) - if wx.VERSION < (3, 0, 0): - self.bitmap.UseAlpha() # Create DC for rendering graphics in bitmap destDC = wx.MemoryDC()