controls/DebugVariablePanel/DebugVariableGraphicPanel.py
changeset 1212 b351d3a7917c
parent 1209 953a8f14040a
child 1213 599e43ec921b
--- a/controls/DebugVariablePanel/DebugVariableGraphicPanel.py	Mon Jun 03 08:41:10 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableGraphicPanel.py	Mon Jun 03 11:11:46 2013 +0200
@@ -308,7 +308,7 @@
             self.DraggingAxesPanel.SetPosition(wx.Point(0, -height))
         else:
             self.DraggingAxesPanel = panel
-        self.DraggingAxesBoundingBox = panel.GetAxesBoundingBox(absolute=True)
+        self.DraggingAxesBoundingBox = panel.GetAxesBoundingBox(parent_coordinate=True)
         self.DraggingAxesMousePos = wx.Point(
             x_mouse_start - self.DraggingAxesBoundingBox.x, 
             y_mouse_start - self.DraggingAxesBoundingBox.y)