set default state of reboot now / reboot later radio buttons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5479 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f8011438e0
commit
c19787806b
1 changed files with 5 additions and 0 deletions
|
@ -344,6 +344,11 @@ Finish page (implemented using nsDialogs)
|
|||
${NSD_CreateRadioButton} 120u ${MUI_FINISHPAGE_REBOOTLATER_TOP}u 195u 10u "${MUI_FINISHPAGE_TEXT_REBOOTLATER}"
|
||||
Pop $mui.FinishPage.RebootLater
|
||||
SetCtlColors $mui.FinishPage.RebootLater "" "${MUI_BGCOLOR}"
|
||||
!ifndef MUI_FINISHPAGE_REBOOTLATER_DEFAULT
|
||||
SendMessage $mui.FinishPage.RebootNow ${BM_SETCHECK} ${BST_CHECKED} 0
|
||||
!else
|
||||
SendMessage $mui.FinishPage.RebootLater ${BM_SETCHECK} ${BST_CHECKED} 0
|
||||
!endif
|
||||
|
||||
${else}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue