Merging appropriate 2.1.1 fixes back into the main trunk.

This commit is contained in:
Jack Jansen 2001-08-03 13:31:36 +00:00
parent cb60dae6a1
commit cbed91b4db
26 changed files with 162 additions and 122 deletions

View file

@ -119,9 +119,9 @@ class MyDialog(FrameWork.DialogWindow):
def open(self, id, contents):
self.id = id
FrameWork.DialogWindow.open(self, ID_MAIN)
self.wid.SetDialogDefaultItem(MAIN_SHOW)
self.dlg.SetDialogDefaultItem(MAIN_SHOW)
self.contents = contents
self.ctl = self.wid.GetDialogItemAsControl(MAIN_LIST)
self.ctl = self.dlg.GetDialogItemAsControl(MAIN_LIST)
h = self.ctl.GetControlData_Handle(Controls.kControlListBoxPart,
Controls.kControlListBoxListHandleTag)
self.list = List.as_List(h)