--- a/graphics/GraphicCommons.py Wed Oct 11 11:54:55 2017 +0300
+++ b/graphics/GraphicCommons.py Wed Oct 11 13:15:21 2017 +0300
@@ -916,7 +916,7 @@
self.Size = wx.Size(self.BoundingBox.width, self.BoundingBox.height)
# Forbids to change the group position
- def SetPosition(x, y):
+ def SetPosition(self, x, y):
pass
# Returns the position of this group
@@ -937,7 +937,7 @@
return self.BoundingBox.x, self.BoundingBox.y
# Forbids to change the group size
- def SetSize(width, height):
+ def SetSize(self, width, height):
pass
# Returns the size of this group
@@ -1640,11 +1640,11 @@
return None
# Forbids to change the wire position
- def SetPosition(x, y):
+ def SetPosition(self, x, y):
pass
# Forbids to change the wire size
- def SetSize(width, height):
+ def SetSize(self, width, height):
pass
# Moves and Resizes the element for fitting scaling