mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Merging appropriate 2.1.1 fixes back into the main trunk.
This commit is contained in:
parent
cb60dae6a1
commit
cbed91b4db
26 changed files with 162 additions and 122 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue