Commit 6c6ad83e authored by Jack Jansen's avatar Jack Jansen

Set default item for dialog

parent 76c79e9b
......@@ -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
......
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