mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Converted to Appearance.
This commit is contained in:
parent
a1a0fef2ea
commit
d2bf68fdb9
2 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ class radio:
|
|||
def __init__(self, dlg, *items):
|
||||
self.items = {}
|
||||
for item in items:
|
||||
tp, h, rect = dlg.GetDialogItem(item)
|
||||
self.items[item] = h.as_Control()
|
||||
ctl = dlg.GetDialogItemAsControl(item)
|
||||
self.items[item] = ctl
|
||||
|
||||
def set(self, setitem):
|
||||
for item, ctl in self.items.items():
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue