]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/msw/version.rc
Enable variadic macros for VC9 and later.
[wxWidgets.git] / src / msw / version.rc
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////////
2// Name: src/msw/version.rc
3// Purpose: contains version info resource for wxMSW DLL build
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 09.07.00
7// RCS-ID: $Id$
8// Copyright: (c) 2000 Vadim Zeitlin
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#include "wx/version.h"
13
14// see http://msdn.microsoft.com/library/psdk/winui/rc_7x2d.htm for values: we
15// don't use symbolic constants because older compilers might not have them
16#ifdef WXMAKINGDLL
17 #define wxVFT 2 // VFT_DLL
18#else
19 #define wxVFT 1 // VFT_APP
20#endif
21
22#ifdef _DEBUG
23 #define DLL_FLAGS 0x1L
24#else
25 #define DLL_FLAGS 0x0L
26#endif
27
28// 0x0409 is US English, 0x04b0 is Unicode and 0x0000 is 7 bit ASCII. see
29// http://msdn.microsoft.com/en-us/library/aa381049(VS.85).aspx for the full
30// list of languages and charsets
31#define LANG 0x0409
32#ifdef _UNICODE
33 #define CHARSET 0x4b0
34 #define LANG_WITH_CHARSET "040904b0"
35#else
36 #define CHARSET 0
37 #define LANG_WITH_CHARSET "04090000"
38#endif
39
401 VERSIONINFO
41 FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
42 PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
43 FILEFLAGSMASK 0x3fL
44 FILEFLAGS DLL_FLAGS
45 FILEOS 0x40004L // VOS_NT_WINDOWS32
46 FILETYPE wxVFT
47 FILESUBTYPE 0x0L
48BEGIN
49 BLOCK "StringFileInfo"
50 BEGIN
51 BLOCK LANG_WITH_CHARSET
52 BEGIN
53 VALUE "Comments", "wxWidgets cross-platform GUI framework\0"
54 VALUE "CompanyName", "wxWidgets development team\0"
55 VALUE "FileDescription", "wxWidgets for MSW\0"
56 VALUE "FileVersion", "wxWidgets Library " wxVERSION_NUM_DOT_STRING "\0"
57 VALUE "InternalName", "wxMSW\0"
58 VALUE "LegalCopyright", "Copyright 1993-2010 wxWidgets development team\0"
59 VALUE "LegalTrademarks", "\0"
60 VALUE "OriginalFilename", wxSTRINGIZE(WXDLLNAME) ".dll\0"
61 VALUE "PrivateBuild", "\0"
62 VALUE "ProductName", "wxWidgets\0"
63 VALUE "ProductVersion", wxVERSION_NUM_DOT_STRING "\0"
64 VALUE "SpecialBuild", "\0"
65 END
66 END
67 BLOCK "VarFileInfo"
68 BEGIN
69 VALUE "Translation", LANG, CHARSET
70 END
71END