call InitCommonControls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4773 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2cd2142ca3
commit
648d835d7a
2 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
#include "resource.h"
|
||||
|
||||
#define CBL(x) {x,#x}
|
||||
|
@ -228,6 +229,8 @@ int APIENTRY WinMain(HINSTANCE hInstance,
|
|||
LPSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
InitCommonControls();
|
||||
|
||||
DialogBox(
|
||||
GetModuleHandle(0),
|
||||
MAKEINTRESOURCE(IDD_DIALOG),
|
||||
|
|
|
@ -15,6 +15,7 @@ resources = Split("""
|
|||
libs = Split("""
|
||||
kernel32
|
||||
user32
|
||||
comctl32
|
||||
""")
|
||||
|
||||
Import('BuildUtil')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue