use InstallOptions' new HWND field, not 1200 + field number - 1

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4731 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2006-08-08 15:44:05 +00:00
parent b57f6918df
commit 7a966c8335

View file

@ -1074,7 +1074,7 @@ Function FunctionName ;FunctionName defined with Page command
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioFile.ini"
Pop $HWND ;HWND of dialog
GetDlgItem $DLGITEM $HWND 1200 ;1200 + Field number - 1
!insertmacro MUI_INSTALLOPTIONS_READ $DLGITEM "ioFile.ini" "Field 1" "HWND"
;$DLGITEM contains the HWND of the first field
CreateFont $FONT "Tahoma" 10 700