]> git.saurik.com Git - wxWidgets.git/blob - src/msw/version.rc
Compilation fix for !wxUSE_OWNER_DRAWN.
[wxWidgets.git] / src / msw / version.rc
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 // Copyright: (c) 2000 Vadim Zeitlin
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #include "wx/version.h"
12
13 // see http://msdn.microsoft.com/library/psdk/winui/rc_7x2d.htm for values: we
14 // don't use symbolic constants because older compilers might not have them
15 #ifdef WXMAKINGDLL
16 #define wxVFT 2 // VFT_DLL
17 #else
18 #define wxVFT 1 // VFT_APP
19 #endif
20
21 #ifdef _DEBUG
22 #define DLL_FLAGS 0x1L
23 #else
24 #define DLL_FLAGS 0x0L
25 #endif
26
27 // 0x0409 is US English, 0x04b0 is Unicode and 0x0000 is 7 bit ASCII. see
28 // http://msdn.microsoft.com/en-us/library/aa381049(VS.85).aspx for the full
29 // list of languages and charsets
30 #define LANG 0x0409
31 #ifdef _UNICODE
32 #define CHARSET 0x4b0
33 #define LANG_WITH_CHARSET "040904b0"
34 #else
35 #define CHARSET 0
36 #define LANG_WITH_CHARSET "04090000"
37 #endif
38
39 #ifdef WXMAKINGDLL_BASE
40 #define WXLIBDESC "base"
41 #elif defined WXMAKINGDLL_NET
42 #define WXLIBDESC "network"
43 #elif defined WXMAKINGDLL_CORE
44 #define WXLIBDESC "core"
45 #elif defined WXMAKINGDLL_ADV
46 #define WXLIBDESC "advanced"
47 #elif defined WXMAKINGDLL_QA
48 #define WXLIBDESC "qa"
49 #elif defined WXMAKINGDLL_HTML
50 #define WXLIBDESC "html"
51 #elif defined WXMAKINGDLL_GL
52 #define WXLIBDESC "OpenGL"
53 #elif defined WXMAKINGDLL_XML
54 #define WXLIBDESC "XML"
55 #elif defined WXMAKINGDLL_XRC
56 #define WXLIBDESC "XRC"
57 #elif defined WXMAKINGDLL_AUI
58 #define WXLIBDESC "AUI"
59 #elif defined WXMAKINGDLL_RIBBON
60 #define WXLIBDESC "ribbon"
61 #elif defined WXMAKINGDLL_PROPGRID
62 #define WXLIBDESC "property grid"
63 #elif defined WXMAKINGDLL_RICHTEXT
64 #define WXLIBDESC "rich text"
65 #elif defined WXMAKINGDLL_MEDIA
66 #define WXLIBDESC "multimedia"
67 #elif defined WXMAKINGDLL_STC
68 #define WXLIBDESC "styled text"
69 #elif defined WXMAKINGDLL_WEBVIEW
70 #define WXLIBDESC "webview"
71 #elif defined WXMAKINGDLL
72 #define WXLIBDESC "monolithic"
73 #else
74 #error "What are we building?"
75 #endif
76
77 1 VERSIONINFO
78 FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
79 PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
80 FILEFLAGSMASK 0x3fL
81 FILEFLAGS DLL_FLAGS
82 FILEOS 0x40004L // VOS_NT_WINDOWS32
83 FILETYPE wxVFT
84 FILESUBTYPE 0x0L
85 BEGIN
86 BLOCK "StringFileInfo"
87 BEGIN
88 BLOCK LANG_WITH_CHARSET
89 BEGIN
90 VALUE "Comments", "wxWidgets cross-platform GUI framework\0"
91 VALUE "CompanyName", "wxWidgets development team\0"
92 VALUE "FileDescription", "wxWidgets " WXLIBDESC " library\0"
93 VALUE "FileVersion", wxVERSION_NUM_DOT_STRING "\0"
94 VALUE "InternalName", wxSTRINGIZE(WXDLLNAME) "\0"
95 VALUE "LegalCopyright", "Copyright © 1993-2013 wxWidgets development team\0"
96 VALUE "OriginalFilename", wxSTRINGIZE(WXDLLNAME) ".dll\0"
97 VALUE "ProductName", "wxWidgets\0"
98 VALUE "ProductVersion", wxVERSION_NUM_DOT_STRING "\0"
99 END
100 END
101 BLOCK "VarFileInfo"
102 BEGIN
103 VALUE "Translation", LANG, CHARSET
104 END
105 END