From: Vadim Zeitlin Date: Thu, 23 Jul 2009 23:34:46 +0000 (+0000) Subject: This is apparently needed by Windows installer (WiX), see #10970. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ee2f43c042b7a8b943caf0d9318c12d42b290a4a?hp=1687f8af7b3b0a75c66293523284482f45cba355 This is apparently needed by Windows installer (WiX), see #10970. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/version.rc b/src/msw/version.rc index 505dc38d23..f7919720cc 100644 --- a/src/msw/version.rc +++ b/src/msw/version.rc @@ -25,10 +25,14 @@ #define DLL_FLAGS 0x0L #endif +// 0x0409 is US English, 0x04b0 is Unicode and 0x0000 is 7 bit ASCII. see +// http://msdn.microsoft.com/en-us/library/aa381049(VS.85).aspx for the full +// list of languages and charsets +#define LANG "0409" #ifdef _UNICODE - #define LANG "040904b0" + #define CHARSET "04b0" #else - #define LANG "04090000" + #define CHARSET "0000" #endif 1 VERSIONINFO @@ -42,7 +46,7 @@ BEGIN BLOCK "StringFileInfo" BEGIN - BLOCK LANG + BLOCK LANG CHARSET BEGIN VALUE "Comments", "wxWidgets cross-platform GUI framework\0" VALUE "CompanyName", "wxWidgets development team\0" @@ -58,4 +62,8 @@ BEGIN VALUE "SpecialBuild", "\0" END END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", LANG, CHARSET + END END