diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-01-22 14:55:52 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-01-22 14:55:52 (GMT) |
commit | 6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917 (patch) | |
tree | 7fa542c0caca5376ece4ee182fdf825565d3eba2 /Mac | |
parent | 76c79e9ba809a883636be073576817a4474da464 (diff) | |
download | cpython-6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917.zip cpython-6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917.tar.gz cpython-6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917.tar.bz2 |
Set default item for dialog
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/scripts/BuildApplet.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/scripts/BuildApplet.py b/Mac/scripts/BuildApplet.py index 8ca3955..8da28d9 100644 --- a/Mac/scripts/BuildApplet.py +++ b/Mac/scripts/BuildApplet.py @@ -289,6 +289,7 @@ def message(str, id = 256): return tp, h, rect = d.GetDialogItem(2) SetDialogItemText(h, str) + d.SetDialogDefaultItem(1) while 1: n = ModalDialog(None) if n == 1: break |