summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/BuildApplet.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-01-22 14:55:52 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-01-22 14:55:52 (GMT)
commit6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917 (patch)
tree7fa542c0caca5376ece4ee182fdf825565d3eba2 /Mac/scripts/BuildApplet.py
parent76c79e9ba809a883636be073576817a4474da464 (diff)
downloadcpython-6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917.zip
cpython-6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917.tar.gz
cpython-6c6ad83e5487fe5015f0c86bbcd37b7c9f25d917.tar.bz2
Set default item for dialog
Diffstat (limited to 'Mac/scripts/BuildApplet.py')
-rw-r--r--Mac/scripts/BuildApplet.py1
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