Mercurial > projects > dwt-win
changeset 304:4e8e11ccfa60
Resouce manifest to ID 1
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 30 Aug 2008 13:59:13 +0200 |
parents | eddc0e013cb8 |
children | a401002c3a1f |
files | dwt.rc dwt.res dwt/internal/win32/OS.d |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt.rc Fri Aug 29 04:30:31 2008 +0200 +++ b/dwt.rc Sat Aug 30 13:59:13 2008 +0200 @@ -1,3 +1,3 @@ -2 24 "dwt.exe.manifest" +1 24 "dwt.exe.manifest"
--- a/dwt/internal/win32/OS.d Fri Aug 29 04:30:31 2008 +0200 +++ b/dwt/internal/win32/OS.d Sat Aug 30 13:59:13 2008 +0200 @@ -222,7 +222,7 @@ public static const int ACTCTX_FLAG_SET_PROCESS_DEFAULT = 0x00000010; public static const int ACTCTX_FLAG_APPLICATION_NAME_VALID = 0x00000020; public static const int ACTCTX_FLAG_OVERRIDEMANIFEST_VALID = 0x00000100; - public static const TCHAR* MANIFEST_RESOURCE_ID = cast(TCHAR*)2; + public static const TCHAR* MANIFEST_RESOURCE_ID = cast(TCHAR*)1; public static const int SM_DBCSENABLED = 0x2A; public static const int SM_IMMENABLED = 0x52; public static const int LANG_KOREAN = 0x12; @@ -313,7 +313,7 @@ /* Load the manifest to force the XP Theme */ if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { - enableVisualStyles(); + //enableVisualStyles(); } // when to load uxtheme