DialogAddButtonWithHotkeyBJ

Parameters
whichDialog dialog
buttonText string
hotkey integer
comment
patch

1.00

Source
Blizzard.j
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