X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f226082da760de38c6bcb7a1a0c2c87c731a2d89..ef8f6d9590b7f9c73dcdfac244647c6e88ebd2ec:/src/msw/version.rc?ds=sidebyside diff --git a/src/msw/version.rc b/src/msw/version.rc index eba2134fe0..dc7fbe8c52 100644 --- a/src/msw/version.rc +++ b/src/msw/version.rc @@ -25,10 +25,16 @@ #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 0x0409 #ifdef _UNICODE - #define LANG "04090000" + #define CHARSET 0x4b0 + #define LANG_WITH_CHARSET "040904b0" #else - #define LANG "040904b0" + #define CHARSET 0 + #define LANG_WITH_CHARSET "04090000" #endif 1 VERSIONINFO @@ -42,8 +48,7 @@ BEGIN BLOCK "StringFileInfo" BEGIN - // US English Ascii; see http://msdn.microsoft.com/library/psdk/winui/rc_3rxn.htm for codes - BLOCK LANG + BLOCK LANG_WITH_CHARSET BEGIN VALUE "Comments", "wxWidgets cross-platform GUI framework\0" VALUE "CompanyName", "wxWidgets development team\0" @@ -59,4 +64,8 @@ BEGIN VALUE "SpecialBuild", "\0" END END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", LANG, CHARSET + END END