From f255000ec9309e653865a96b11212233612963ab Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Wed, 26 Aug 2015 22:32:37 +0800 Subject: [PATCH] TortoisePlink: Enable XP UI theme Signed-off-by: Sup Yut Sum --- src/TortoisePlink/Windows/WINPLINK.C | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/TortoisePlink/Windows/WINPLINK.C b/src/TortoisePlink/Windows/WINPLINK.C index d9d43d4d4..6634dab4c 100644 --- a/src/TortoisePlink/Windows/WINPLINK.C +++ b/src/TortoisePlink/Windows/WINPLINK.C @@ -14,6 +14,10 @@ #define WM_AGENT_CALLBACK (WM_APP + 4) +#include +#pragma comment(lib, "comctl32.lib") +#pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") + struct agent_callback { void (*callback)(void *, void *, int); void *callback_ctx; @@ -326,6 +330,7 @@ int main(int argc, char **argv) int use_subsystem = 0; unsigned long now, next, then; + InitCommonControls(); sklist = NULL; skcount = sksize = 0; /* -- 2.11.4.GIT