diff options
Diffstat (limited to 'Mac/Demo/example2')
-rw-r--r-- | Mac/Demo/example2/dnslookup-2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Demo/example2/dnslookup-2.py b/Mac/Demo/example2/dnslookup-2.py index 82568d0..e595b8e 100644 --- a/Mac/Demo/example2/dnslookup-2.py +++ b/Mac/Demo/example2/dnslookup-2.py @@ -65,10 +65,10 @@ class MyDialog(FrameWork.DialogWindow): def dolookup(self): """Get text entered in the lookup entry area. Place result of the call to dnslookup in the result entry area.""" - tp, h, rect = self.wid.GetDialogItem(ITEM_LOOKUP_ENTRY) + tp, h, rect = self.dlg.GetDialogItem(ITEM_LOOKUP_ENTRY) txt = Dlg.GetDialogItemText(h) - tp, h, rect = self.wid.GetDialogItem(ITEM_RESULT) + tp, h, rect = self.dlg.GetDialogItem(ITEM_RESULT) Dlg.SetDialogItemText(h, self.dnslookup(txt)) def dnslookup(self, str): |