DialogAddButtonWithHotkeyBJ

Parameters
whichDialogdialog
buttonTextstring
hotkeyinteger
comment
patch

1.00

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
button
Source code
function DialogAddButtonWithHotkeyBJ takes dialog whichDialog, string buttonText, integer hotkey returns button
    set bj_lastCreatedButton = DialogAddButton(whichDialog, buttonText,hotkey)
    return bj_lastCreatedButton
endfunction