Kaydet (Commit) d2bf68fd authored tarafından Jack Jansen's avatar Jack Jansen

Converted to Appearance.

üst a1a0fef2
......@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment