]> git.saurik.com Git - wxWidgets.git/commitdiff
This is apparently needed by Windows installer (WiX), see #10970.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 Jul 2009 23:34:46 +0000 (23:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 Jul 2009 23:34:46 +0000 (23:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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