# HG changeset patch # User Andrey Skvortsov # Date 1461057389 -10800 # Node ID a30776c4384643a6ea3600fd5d5fc4dbd9e5fff2 # Parent d5efbb20927e475497d33721c9c24a884241055f bitmap in wx3.0 doesn't have useAlpha() method diff -r d5efbb20927e -r a30776c43846 controls/DebugVariablePanel/DebugVariableGraphicViewer.py --- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Tue Apr 19 12:15:51 2016 +0300 +++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Tue Apr 19 12:16:29 2016 +0300 @@ -1363,7 +1363,8 @@ # Get bitmap of figure rendered self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None) - self.bitmap.UseAlpha() + if wx.VERSION < (3, 0, 0): + self.bitmap.UseAlpha() # Create DC for rendering graphics in bitmap destDC = wx.MemoryDC()