summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/BoxParent.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stdwin/BoxParent.py')
-rwxr-xr-xLib/stdwin/BoxParent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/stdwin/BoxParent.py b/Lib/stdwin/BoxParent.py
index d042e88..a44995d 100755
--- a/Lib/stdwin/BoxParent.py
+++ b/Lib/stdwin/BoxParent.py
@@ -2,13 +2,13 @@ from TransParent import TransParent
class BoxParent(TransParent):
#
- def create(self, (parent, (dh, dv))):
+ def create(self, parent, (dh, dv)):
self = TransParent.create(self, parent)
self.dh = dh
self.dv = dv
return self
#
- def getminsize(self, (m, (width, height))):
+ def getminsize(self, m, (width, height)):
width = max(0, width - 2*self.dh)
height = max(0, height - 2*self.dv)
width, height = self.child.getminsize(m, (width, height))