Permalink
Browse files

Fixed visual styles support

  • Loading branch information...
bozho committed Nov 1, 2010
1 parent 3a9085f commit 6ddc33b31b37055bac1948dee0e9f060fb2562df
Showing with 10 additions and 0 deletions.
  1. +10 −0 Console/stdafx.h
View
@@ -45,6 +45,16 @@ extern CAppModule _Module;
#pragma warning(disable: 4189 4267)
#include "atlgdix.h"
+#if defined _M_IX86
+ #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
+#elif defined _M_IA64
+ #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
+#elif defined _M_X64
+ #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
+#else
+ #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
+#endif
+
#include "CustomTabCtrl.h"
#include "DotNetTabCtrl.h"
//#include "SimpleTabCtrls.h"

0 comments on commit 6ddc33b

Please sign in to comment.