From c3035b76010bed8cb534887a07cfc8e27ac7064a Mon Sep 17 00:00:00 2001 From: Ted John Date: Mon, 26 Dec 2016 22:17:44 +0000 Subject: [PATCH] Enable visual styles for Windows Fixes an issue where message boxes used classic Windows style buttons. --- src/platform/windows.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform/windows.c b/src/platform/windows.c index 6828079e67..e53093a3c1 100644 --- a/src/platform/windows.c +++ b/src/platform/windows.c @@ -39,6 +39,9 @@ // Native resource IDs #include "../../resources/resource.h" +// Enable visual styles +#pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") + // The name of the mutex used to prevent multiple instances of the game from running #define SINGLE_INSTANCE_MUTEX_NAME "RollerCoaster Tycoon 2_GSKMUTEX"