I specify the "Default" option but only a thicker border appears over it. The actual focus is on the first button (you can even see some dotted lines inside it).
If you press space or enter it triggers the 1st not the 2nd, told to be default.
Code: Select all
Gui, New
Gui, Add, Text, , Text
Gui, Add, Button, , Yes
Gui, Add, Button, x+m Default, No
Gui, Show
return
ButtonNo:
MsgBox, No
return
ButtonYes:
MsgBox, Yes
return
Edit:
I have a fixed it temporarily through GuiControl, Focus but I don't think it should be needed.