diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py index b8346addf4b..9980941b0d2 100755 --- a/Lib/lib-tk/Tix.py +++ b/Lib/lib-tk/Tix.py @@ -78,7 +78,7 @@ def config(self, cnf={}, **kw): form = config def __setitem__(self, key, value): - Form.form({key: value}) + Form.form(self, {key: value}) def check(self): return self.tk.call('tixForm', 'check', self._w) @@ -328,7 +328,7 @@ def config(self, cnf={}, **kw): (self.stylename, 'configure') + self._options(cnf,kw)))) def __getitem__(self,key): - return self.tk.call(self.stylename, 'cget', '-%s'%key, value) + return self.tk.call(self.stylename, 'cget', '-%s'%key) ######################################################