MakeNSISW now uses RichEdit 2.0, compatible with Unicode (exehead UIs already uses it anyway)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6069 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
70ccef9cbc
commit
68c5a5751e
4 changed files with 10 additions and 9 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#define _WIN32_IE 0x0400
|
||||
#include <windows.h>
|
||||
#include <richedit.h>
|
||||
|
||||
#ifndef IDC_STATIC
|
||||
#define IDC_STATIC -1
|
||||
|
|
|
@ -49,7 +49,7 @@ int WINAPI _tWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, TCHAR *cmdParam, int
|
|||
g_sdata.sigint_event = CreateEvent(NULL, FALSE, FALSE, _T("makensis win32 signint event"));
|
||||
RestoreSymbols();
|
||||
|
||||
HINSTANCE hRichEditDLL = LoadLibrary(_T("RichEd32.dll"));
|
||||
HINSTANCE hRichEditDLL = LoadLibrary(_T("RichEd20.dll"));
|
||||
|
||||
if (!InitBranding()) {
|
||||
MessageBox(0,NSISERROR,_T("Error"),MB_ICONEXCLAMATION|MB_OK);
|
||||
|
|
|
@ -161,7 +161,7 @@ CAPTION "MakeNSISW"
|
|||
MENU IDM_MENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
CONTROL "",IDC_LOGWIN,"RICHEDIT",TCS_HOTTRACK | TCS_BUTTONS |
|
||||
CONTROL "",IDC_LOGWIN,RICHEDIT_CLASS,TCS_HOTTRACK | TCS_BUTTONS |
|
||||
TCS_RAGGEDRIGHT | TCS_OWNERDRAWFIXED | TCS_MULTISELECT |
|
||||
WS_BORDER | WS_VSCROLL,7,22,345,186
|
||||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,220,346,1
|
||||
|
|
|
@ -118,9 +118,9 @@ ${MementoSection} "NSIS Core Files (required)" SecCore
|
|||
File /oname=makensis.exe ..\Bin\substart.exe
|
||||
File ..\makensisw.exe
|
||||
File ..\COPYING
|
||||
File ..\NSIS.chm
|
||||
File ..\NSIS.exe
|
||||
File /nonfatal ..\NSIS.exe.manifest
|
||||
;File ..\NSIS.chm
|
||||
;File ..\NSIS.exe
|
||||
;File /nonfatal ..\NSIS.exe.manifest
|
||||
SetOutPath $INSTDIR\Bin
|
||||
File ..\Bin\makensis.exe
|
||||
File ..\Bin\zlib1.dll
|
||||
|
@ -177,11 +177,11 @@ ${MementoSection} "NSIS Core Files (required)" SecCore
|
|||
File ..\Docs\makensisw\*.txt
|
||||
|
||||
SetOutPath $INSTDIR\Menu
|
||||
File ..\Menu\*.html
|
||||
;File ..\Menu\*.html
|
||||
SetOutPath $INSTDIR\Menu\images
|
||||
File ..\Menu\images\header.gif
|
||||
File ..\Menu\images\line.gif
|
||||
File ..\Menu\images\site.gif
|
||||
;File ..\Menu\images\header.gif
|
||||
;File ..\Menu\images\line.gif
|
||||
;File ..\Menu\images\site.gif
|
||||
|
||||
Delete $INSTDIR\makensis.htm
|
||||
Delete $INSTDIR\Docs\*.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue