]> git.saurik.com Git - wxWidgets.git/blame - include/msvc/wx/setup.h
Rather use the "obvious" implementation of wxStaticText::DoGetLabel().
[wxWidgets.git] / include / msvc / wx / setup.h
CommitLineData
e5099bdf
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: msvc/wx/msw/setup.h
3// Purpose: wrapper around the real wx/setup.h for Visual C++
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 2004-12-12
7// RCS-ID: $Id$
8// Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// VC++ IDE predefines _DEBUG and _UNICODE for the new projects itself, but
13// the other symbols (WXUSINGDLL, __WXUNIVERSAL__, ...) should be defined
3103e8a9 14// explicitly!
e5099bdf
VZ
15
16#ifdef _MSC_VER
17 #ifdef _UNICODE
18 #ifdef WXUSINGDLL
19 #ifdef _DEBUG
9fa2da4a 20 #include "../../../lib/vc_dll/mswud/wx/setup.h"
e5099bdf 21 #else
9fa2da4a 22 #include "../../../lib/vc_dll/mswu/wx/setup.h"
e5099bdf
VZ
23 #endif
24 #else
25 #ifdef _DEBUG
9fa2da4a 26 #include "../../../lib/vc_lib/mswud/wx/setup.h"
e5099bdf 27 #else
9fa2da4a 28 #include "../../../lib/vc_lib/mswu/wx/setup.h"
e5099bdf
VZ
29 #endif
30 #endif
31
32 #ifdef _DEBUG
2ee322d9
VZ
33 #pragma comment(lib,"wxbase29ud")
34 #pragma comment(lib,"wxbase29ud_net")
35 #pragma comment(lib,"wxbase29ud_xml")
908f0871 36 #if wxUSE_REGEX
8aa2736f 37 #pragma comment(lib,"wxregexud")
908f0871 38 #endif
8aa2736f
VZ
39
40 #if wxUSE_GUI
41 #if wxUSE_XML
42 #pragma comment(lib,"wxexpatd")
43 #endif
44 #if wxUSE_LIBJPEG
45 #pragma comment(lib,"wxjpegd")
46 #endif
47 #if wxUSE_LIBPNG
48 #pragma comment(lib,"wxpngd")
49 #endif
50 #if wxUSE_LIBTIFF
51 #pragma comment(lib,"wxtiffd")
52 #endif
53 #if wxUSE_ZLIB
54 #pragma comment(lib,"wxzlibd")
55 #endif
2ee322d9
VZ
56 #pragma comment(lib,"wxmsw29ud_adv")
57 #pragma comment(lib,"wxmsw29ud_core")
58 #pragma comment(lib,"wxmsw29ud_html")
8aa2736f 59 #if wxUSE_GLCANVAS
2ee322d9 60 #pragma comment(lib,"wxmsw29ud_gl")
8aa2736f
VZ
61 #endif
62 #if wxUSE_DEBUGREPORT
2ee322d9 63 #pragma comment(lib,"wxmsw29ud_qa")
8aa2736f
VZ
64 #endif
65 #if wxUSE_XRC
2ee322d9 66 #pragma comment(lib,"wxmsw29ud_xrc")
8aa2736f
VZ
67 #endif
68 #if wxUSE_AUI
2ee322d9 69 #pragma comment(lib,"wxmsw29ud_aui")
8aa2736f
VZ
70 #endif
71 #if wxUSE_RICHTEXT
2ee322d9 72 #pragma comment(lib,"wxmsw29ud_richtext")
8aa2736f
VZ
73 #endif
74 #if wxUSE_MEDIACTRL
2ee322d9 75 #pragma comment(lib,"wxmsw29ud_media")
8aa2736f
VZ
76 #endif
77 #if wxUSE_ODBC
2ee322d9 78 #pragma comment(lib,"wxbase29ud_odbc")
8aa2736f
VZ
79 #endif
80 #endif // wxUSE_GUI
81 #else // release
2ee322d9
VZ
82 #pragma comment(lib,"wxbase29u")
83 #pragma comment(lib,"wxbase29u_net")
84 #pragma comment(lib,"wxbase29u_xml")
8aa2736f
VZ
85 #if wxUSE_REGEX
86 #pragma comment(lib,"wxregexu")
4521d1cd 87 #endif
8aa2736f
VZ
88
89 #if wxUSE_GUI
90 #if wxUSE_XML
91 #pragma comment(lib,"wxexpat")
92 #endif
93 #if wxUSE_LIBJPEG
94 #pragma comment(lib,"wxjpeg")
95 #endif
96 #if wxUSE_LIBPNG
97 #pragma comment(lib,"wxpng")
98 #endif
99 #if wxUSE_LIBTIFF
100 #pragma comment(lib,"wxtiff")
101 #endif
102 #if wxUSE_ZLIB
103 #pragma comment(lib,"wxzlib")
104 #endif
2ee322d9
VZ
105 #pragma comment(lib,"wxmsw29u_adv")
106 #pragma comment(lib,"wxmsw29u_core")
107 #pragma comment(lib,"wxmsw29u_html")
8aa2736f 108 #if wxUSE_GLCANVAS
2ee322d9 109 #pragma comment(lib,"wxmsw29u_gl")
8aa2736f
VZ
110 #endif
111 #if wxUSE_DEBUGREPORT
2ee322d9 112 #pragma comment(lib,"wxmsw29u_qa")
8aa2736f
VZ
113 #endif
114 #if wxUSE_XRC
2ee322d9 115 #pragma comment(lib,"wxmsw29u_xrc")
8aa2736f
VZ
116 #endif
117 #if wxUSE_AUI
2ee322d9 118 #pragma comment(lib,"wxmsw29u_aui")
8aa2736f
VZ
119 #endif
120 #if wxUSE_RICHTEXT
2ee322d9 121 #pragma comment(lib,"wxmsw29u_richtext")
8aa2736f
VZ
122 #endif
123 #if wxUSE_MEDIACTRL
2ee322d9 124 #pragma comment(lib,"wxmsw29u_media")
8aa2736f
VZ
125 #endif
126 #if wxUSE_ODBC
2ee322d9 127 #pragma comment(lib,"wxbase29u_odbc")
8aa2736f
VZ
128 #endif
129 #endif // wxUSE_GUI
e5099bdf
VZ
130 #endif // debug/release
131 #else // !_UNICODE
132 #ifdef WXUSINGDLL
133 #ifdef _DEBUG
9fa2da4a 134 #include "../../../lib/vc_dll/mswd/wx/setup.h"
e5099bdf 135 #else
9fa2da4a 136 #include "../../../lib/vc_dll/msw/wx/setup.h"
e5099bdf
VZ
137 #endif
138 #else // static lib
139 #ifdef _DEBUG
9fa2da4a 140 #include "../../../lib/vc_lib/mswd/wx/setup.h"
e5099bdf 141 #else
9fa2da4a 142 #include "../../../lib/vc_lib/msw/wx/setup.h"
e5099bdf
VZ
143 #endif
144 #endif // shared/static
145
146 #ifdef _DEBUG
2ee322d9
VZ
147 #pragma comment(lib,"wxbase29d")
148 #pragma comment(lib,"wxbase29d_net")
149 #pragma comment(lib,"wxbase29d_xml")
908f0871 150 #if wxUSE_REGEX
8aa2736f 151 #pragma comment(lib,"wxregexd")
908f0871 152 #endif
8aa2736f
VZ
153
154 #if wxUSE_GUI
155 #if wxUSE_XML
156 #pragma comment(lib,"wxexpatd")
157 #endif
158 #if wxUSE_LIBJPEG
159 #pragma comment(lib,"wxjpegd")
160 #endif
161 #if wxUSE_LIBPNG
162 #pragma comment(lib,"wxpngd")
163 #endif
164 #if wxUSE_LIBTIFF
165 #pragma comment(lib,"wxtiffd")
166 #endif
167 #if wxUSE_ZLIB
168 #pragma comment(lib,"wxzlibd")
169 #endif
2ee322d9
VZ
170 #pragma comment(lib,"wxmsw29d_adv")
171 #pragma comment(lib,"wxmsw29d_core")
172 #pragma comment(lib,"wxmsw29d_html")
8aa2736f 173 #if wxUSE_GLCANVAS
2ee322d9 174 #pragma comment(lib,"wxmsw29d_gl")
8aa2736f
VZ
175 #endif
176 #if wxUSE_DEBUGREPORT
2ee322d9 177 #pragma comment(lib,"wxmsw29d_qa")
8aa2736f
VZ
178 #endif
179 #if wxUSE_XRC
2ee322d9 180 #pragma comment(lib,"wxmsw29d_xrc")
8aa2736f
VZ
181 #endif
182 #if wxUSE_AUI
2ee322d9 183 #pragma comment(lib,"wxmsw29d_aui")
8aa2736f
VZ
184 #endif
185 #if wxUSE_RICHTEXT
2ee322d9 186 #pragma comment(lib,"wxmsw29d_richtext")
8aa2736f
VZ
187 #endif
188 #if wxUSE_MEDIACTRL
2ee322d9 189 #pragma comment(lib,"wxmsw29d_media")
8aa2736f
VZ
190 #endif
191 #if wxUSE_ODBC
2ee322d9 192 #pragma comment(lib,"wxbase29d_odbc")
8aa2736f
VZ
193 #endif
194 #endif // wxUSE_GUI
195 #else // release
2ee322d9
VZ
196 #pragma comment(lib,"wxbase29")
197 #pragma comment(lib,"wxbase29_net")
198 #pragma comment(lib,"wxbase29_xml")
8aa2736f
VZ
199 #if wxUSE_REGEX
200 #pragma comment(lib,"wxregex")
4521d1cd 201 #endif
8aa2736f
VZ
202
203 #if wxUSE_GUI
204 #if wxUSE_XML
205 #pragma comment(lib,"wxexpat")
206 #endif
207 #if wxUSE_LIBJPEG
208 #pragma comment(lib,"wxjpeg")
209 #endif
210 #if wxUSE_LIBPNG
211 #pragma comment(lib,"wxpng")
212 #endif
213 #if wxUSE_LIBTIFF
214 #pragma comment(lib,"wxtiff")
215 #endif
216 #if wxUSE_ZLIB
217 #pragma comment(lib,"wxzlib")
218 #endif
2ee322d9
VZ
219 #pragma comment(lib,"wxmsw29_adv")
220 #pragma comment(lib,"wxmsw29_core")
221 #pragma comment(lib,"wxmsw29_html")
8aa2736f 222 #if wxUSE_GLCANVAS
2ee322d9 223 #pragma comment(lib,"wxmsw29_gl")
8aa2736f
VZ
224 #endif
225 #if wxUSE_DEBUGREPORT
2ee322d9 226 #pragma comment(lib,"wxmsw29_qa")
8aa2736f
VZ
227 #endif
228 #if wxUSE_XRC
2ee322d9 229 #pragma comment(lib,"wxmsw29_xrc")
8aa2736f
VZ
230 #endif
231 #if wxUSE_AUI
2ee322d9 232 #pragma comment(lib,"wxmsw29_aui")
8aa2736f
VZ
233 #endif
234 #if wxUSE_RICHTEXT
2ee322d9 235 #pragma comment(lib,"wxmsw29_richtext")
8aa2736f
VZ
236 #endif
237 #if wxUSE_MEDIACTRL
2ee322d9 238 #pragma comment(lib,"wxmsw29_media")
8aa2736f
VZ
239 #endif
240 #if wxUSE_ODBC
2ee322d9 241 #pragma comment(lib,"wxbase29_odbc")
8aa2736f
VZ
242 #endif
243 #endif // wxUSE_GUI
e5099bdf
VZ
244 #endif // debug/release
245 #endif // _UNICODE/!_UNICODE
246#else
247 #error "This file should only be included when using Microsoft Visual C++"
248#endif
249