Skip to content

Commit

Permalink
Enable visual styles for Windows
Browse files Browse the repository at this point in the history
Fixes an issue where message boxes used classic Windows style buttons.
  • Loading branch information
IntelOrca committed Dec 26, 2016
1 parent ac32e7d commit c3035b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform/windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit c3035b7

Please sign in to comment.