implemented RFE #1547844 - default button of the abort warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4757 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
11d465de96
commit
67ff922222
3 changed files with 21 additions and 7 deletions
|
@ -312,7 +312,11 @@ Var /GLOBAL MUI_TEMP2
|
|||
StrCmp $MUI_NOABORTWARNING "1" mui.quit
|
||||
!endif
|
||||
|
||||
MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_ABORTWARNING_TEXT}" IDYES mui.quit
|
||||
!ifdef MUI_ABORTWARNING_CANCEL_DEFAULT
|
||||
MessageBox MB_YESNO|MB_ICONEXCLAMATION|MB_DEFBUTTON2 "${MUI_ABORTWARNING_TEXT}" IDYES mui.quit
|
||||
!else
|
||||
MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_ABORTWARNING_TEXT}" IDYES mui.quit
|
||||
!endif
|
||||
|
||||
Abort
|
||||
mui.quit:
|
||||
|
@ -321,7 +325,11 @@ Var /GLOBAL MUI_TEMP2
|
|||
|
||||
!macro MUI_UNABORTWARNING
|
||||
|
||||
MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_UNABORTWARNING_TEXT}" IDYES mui.quit
|
||||
!ifdef MUI_UNABORTWARNING_CANCEL_DEFAULT
|
||||
MessageBox MB_YESNO|MB_ICONEXCLAMATION|MB_DEFBUTTON2 "${MUI_UNABORTWARNING_TEXT}" IDYES mui.quit
|
||||
!else
|
||||
MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_UNABORTWARNING_TEXT}" IDYES mui.quit
|
||||
!endif
|
||||
|
||||
Abort
|
||||
mui.quit:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue