]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/version.rc
Use stock id instead of duplicating its string label in CheckFit().
[wxWidgets.git] / src / msw / version.rc
index 6a294e5dab32965e7a272dd486fc6fef73e34f0d..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 "04090000"
+    #define CHARSET "04b0"
 #else
-    #define LANG "040904b0"
+    #define CHARSET "0000"
 #endif
 
-#define STRINGIZE0(x) #x
-#define STRINGIZE(x)  STRINGIZE0(x)
-
 1 VERSIONINFO
  FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
  PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
 BEGIN
     BLOCK "StringFileInfo"
     BEGIN
-        // US English Ascii; see http://msdn.microsoft.com/library/psdk/winui/rc_3rxn.htm for codes
-        BLOCK LANG
+        BLOCK LANG CHARSET
         BEGIN
             VALUE "Comments", "wxWidgets cross-platform GUI framework\0"
             VALUE "CompanyName", "wxWidgets development team\0"
             VALUE "FileDescription", "wxWidgets for MSW\0"
             VALUE "FileVersion", "wxWidgets Library " wxVERSION_NUM_DOT_STRING "\0"
             VALUE "InternalName", "wxMSW\0"
-            VALUE "LegalCopyright", "Copyright © 1993-2006 wxWidgets development team\0"
+            VALUE "LegalCopyright", "Copyright © 1993-2007 wxWidgets development team\0"
             VALUE "LegalTrademarks", "\0"
-            VALUE "OriginalFilename", STRINGIZE(WXDLLNAME) ".dll\0"
+            VALUE "OriginalFilename", wxSTRINGIZE(WXDLLNAME) ".dll\0"
             VALUE "PrivateBuild", "\0"
             VALUE "ProductName", "wxWidgets\0"
             VALUE "ProductVersion", wxVERSION_NUM_DOT_STRING "\0"
             VALUE "SpecialBuild", "\0"
         END
     END
+    BLOCK "VarFileInfo"
+    BEGIN
+            VALUE "Translation", LANG, CHARSET
+    END
 END