diff --git a/Contrib/nsDialogs/Readme.html b/Contrib/nsDialogs/Readme.html index 6a18f53c..635f6b9f 100644 --- a/Contrib/nsDialogs/Readme.html +++ b/Contrib/nsDialogs/Readme.html @@ -264,6 +264,7 @@ SectionEnd
  • RadioButton
  • Text
  • Password
  • +
  • Number
  • FileRequest
  • DirRequest
  • ComboBox
  • @@ -597,6 +598,7 @@ SectionEnd
  • ${NSD_CreateRadioButton}
  • ${NSD_CreateText}
  • ${NSD_CreatePassword}
  • +
  • ${NSD_CreateNumber}
  • ${NSD_CreateFileRequest}
  • ${NSD_CreateDirRequest}
  • ${NSD_CreateComboBox}
  • diff --git a/Contrib/nsDialogs/nsDialogs.nsh b/Contrib/nsDialogs/nsDialogs.nsh index ab114891..ac4b35eb 100644 --- a/Contrib/nsDialogs/nsDialogs.nsh +++ b/Contrib/nsDialogs/nsDialogs.nsh @@ -225,6 +225,10 @@ Header file for creating custom installer pages with nsDialogs !define __NSD_Password_STYLE ${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_AUTOHSCROLL}|${ES_PASSWORD} !define __NSD_Password_EXSTYLE ${WS_EX_WINDOWEDGE}|${WS_EX_CLIENTEDGE} +!define __NSD_Number_CLASS EDIT +!define __NSD_Number_STYLE ${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_AUTOHSCROLL}|${ES_NUMBER} +!define __NSD_Number_EXSTYLE ${WS_EX_WINDOWEDGE}|${WS_EX_CLIENTEDGE} + !define __NSD_FileRequest_CLASS EDIT !define __NSD_FileRequest_STYLE ${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_AUTOHSCROLL} !define __NSD_FileRequest_EXSTYLE ${WS_EX_WINDOWEDGE}|${WS_EX_CLIENTEDGE} @@ -264,6 +268,7 @@ Header file for creating custom installer pages with nsDialogs !insertmacro __NSD_DefineControl RadioButton !insertmacro __NSD_DefineControl Text !insertmacro __NSD_DefineControl Password +!insertmacro __NSD_DefineControl Number !insertmacro __NSD_DefineControl FileRequest !insertmacro __NSD_DefineControl DirRequest !insertmacro __NSD_DefineControl ComboBox