mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Modified for appearance.
This commit is contained in:
parent
b9247d37ba
commit
c9b1e90cc8
1 changed files with 2 additions and 2 deletions
|
@ -135,8 +135,8 @@ def handle_dialog(filename):
|
|||
continue
|
||||
if n < len(results):
|
||||
results[n] = (not results[n])
|
||||
tp, h, rect = d.GetDialogItem(n)
|
||||
h.as_Control().SetControlValue(results[n])
|
||||
ctl = d.GetDialogItemAsControl(n)
|
||||
ctl.SetControlValue(results[n])
|
||||
rv = []
|
||||
for i in range(len(results)):
|
||||
if results[i]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue