mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Converted to Appearance.
This commit is contained in:
@@ -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.
Reference in New Issue
Block a user