--- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Sun Sep 05 05:43:17 2021 +0200
+++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Sun Sep 05 15:24:14 2021 +0200
@@ -1381,8 +1381,6 @@
# rendering
destGC = wx.GCDC(destDC)
- destGC.BeginDrawing()
-
# Get canvas size and figure bounding box in canvas
width, height = self.GetSize()
bbox = self.GetAxesBoundingBox()
@@ -1409,7 +1407,5 @@
# Draw other Viewer common elements
self.DrawCommonElements(destGC, self.GetButtons())
- destGC.EndDrawing()
-
self._isDrawn = True
self.gui_repaint(drawDC=drawDC)