From 648d835d7a923c23fd18c8e5a892756971b7174a Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 16 Oct 2006 11:23:51 +0000 Subject: [PATCH] call InitCommonControls git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4773 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/MakeLangId/MakeLangId.cpp | 3 +++ Contrib/MakeLangId/SConscript | 1 + 2 files changed, 4 insertions(+) diff --git a/Contrib/MakeLangId/MakeLangId.cpp b/Contrib/MakeLangId/MakeLangId.cpp index 9fcc3699..b53c78d3 100644 --- a/Contrib/MakeLangId/MakeLangId.cpp +++ b/Contrib/MakeLangId/MakeLangId.cpp @@ -1,4 +1,5 @@ #include +#include #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), diff --git a/Contrib/MakeLangId/SConscript b/Contrib/MakeLangId/SConscript index b62609ca..122629d9 100644 --- a/Contrib/MakeLangId/SConscript +++ b/Contrib/MakeLangId/SConscript @@ -15,6 +15,7 @@ resources = Split(""" libs = Split(""" kernel32 user32 + comctl32 """) Import('BuildUtil')