diff options
-rw-r--r-- | Mac/scripts/fullbuild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index 0558a2e..a6ec263 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -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]: |