diff options
Diffstat (limited to 'Lib/lib-stdwin/BoxParent.py')
-rw-r--r-- | Lib/lib-stdwin/BoxParent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/BoxParent.py b/Lib/lib-stdwin/BoxParent.py index d042e88..a44995d 100644 --- a/Lib/lib-stdwin/BoxParent.py +++ b/Lib/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)) |