]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/version.rc
This is apparently needed by Windows installer (WiX), see #10970.
[wxWidgets.git] / src / msw / version.rc
index 505dc38d2300123fc31dcf4aa22aa516bc13464c..f7919720cc44aaac073a8c2524e01c7e59bfc326 100644 (file)
     #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