X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca6a5f04692678cd2d9f3ea0843fc3f5a0b254f..87df17a11b0017d31c09f767bd921abb27193bee:/src/msw/version.rc diff --git a/src/msw/version.rc b/src/msw/version.rc index eaca646963..1e53b56e78 100644 --- a/src/msw/version.rc +++ b/src/msw/version.rc @@ -11,6 +11,12 @@ #include "wx/version.h" +#ifdef WXMAKINGDLL + #define wxVFT VFT_DLL +#else + #define wxVFT VFT_APP +#endif + #ifdef _DEBUG #define DLL_FLAGS 0x1L #define DLL_SUFFIX "d" @@ -19,30 +25,49 @@ #define DLL_SUFFIX "" #endif +//see http://msdn.microsoft.com/library/psdk/winui/rc_7x2d.htm for values 1 VERSIONINFO FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxBETA_NUMBER PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxBETA_NUMBER FILEFLAGSMASK 0x3fL FILEFLAGS DLL_FLAGS - FILEOS 0x40004L - FILETYPE 0x2L + // for NT/win2000 use VOS_NT next + FILEOS VOS__WINDOWS32 + FILETYPE wxVFT FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN + // US English Ascii; see http://msdn.microsoft.com/library/psdk/winui/rc_3rxn.htm for codes + BLOCK "04090000" + BEGIN + VALUE "Comments", "wxWindows cross-platform GUI framework\0" + VALUE "CompanyName", "wxWindows development team\0" + VALUE "FileDescription", "wxWindows for MSW\0" + VALUE "FileVersion", "wxWindows Library " wxVERSION_NUM_DOT_STRING "\0" + VALUE "InternalName", "wxMSW\0" + VALUE "LegalCopyright", "Copyright © 1993, 2001 wxWindows development team\0" + VALUE "LegalTrademarks", "\0" + VALUE "OriginalFilename", "wxmsw" wxVERSION_NUM_STRING DLL_SUFFIX ".dll\0" + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "wxWindows\0" + VALUE "ProductVersion", wxVERSION_NUM_DOT_STRING "\0" + VALUE "SpecialBuild", "\0" + END + //US English Unicode; see http://msdn.microsoft.com/library/psdk/winui/rc_3rxn.htm for codes BLOCK "040904b0" BEGIN VALUE "Comments", "wxWindows cross-platform GUI framework\0" VALUE "CompanyName", "wxWindows development team\0" VALUE "FileDescription", "wxWindows for MSW\0" - VALUE "FileVersion", "2.2.1\0" + VALUE "FileVersion", "wxWindows Library " wxVERSION_NUM_DOT_STRING "\0" VALUE "InternalName", "wxMSW\0" - VALUE "LegalCopyright", "Copyright © 1993, 2000 wxWindows development team\0" + VALUE "LegalCopyright", "Copyright © 1993, 2001 wxWindows development team\0" VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "wxmsw221" DLL_SUFFIX ".dll\0" + VALUE "OriginalFilename", "wxmsw" wxVERSION_NUM_STRING DLL_SUFFIX ".dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "wxWindows\0" - VALUE "ProductVersion", "2.2.1\0" + VALUE "ProductVersion", wxVERSION_NUM_DOT_STRING "\0" VALUE "SpecialBuild", "\0" END END