]> git.saurik.com Git - wxWidgets.git/blob - include/msvc/wx/setup.h
don't assert in wxDC::Blit() calls if the source rect is outside of source DC (wxCare...
[wxWidgets.git] / include / msvc / wx / setup.h
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
14 // explicitly!
15
16 #ifdef _MSC_VER
17 #ifdef _UNICODE
18 #ifdef WXUSINGDLL
19 #ifdef _DEBUG
20 #include "../../../lib/vc_dll/mswud/wx/setup.h"
21 #else
22 #include "../../../lib/vc_dll/mswu/wx/setup.h"
23 #endif
24 #else
25 #ifdef _DEBUG
26 #include "../../../lib/vc_lib/mswud/wx/setup.h"
27 #else
28 #include "../../../lib/vc_lib/mswu/wx/setup.h"
29 #endif
30 #endif
31
32 #ifdef _DEBUG
33 #if wxUSE_XML
34 #pragma comment(lib,"wxexpatd")
35 #endif
36 #if wxUSE_LIBJPEG
37 #pragma comment(lib,"wxjpegd")
38 #endif
39 #if wxUSE_LIBPNG
40 #pragma comment(lib,"wxpngd")
41 #endif
42 #if wxUSE_REGEX
43 #pragma comment(lib,"wxregexud")
44 #endif
45 #if wxUSE_LIBTIFF
46 #pragma comment(lib,"wxtiffd")
47 #endif
48 #if wxUSE_ZLIB
49 #pragma comment(lib,"wxzlibd")
50 #endif
51 #pragma comment(lib,"wxbase27ud")
52 #pragma comment(lib,"wxbase27ud_net")
53 #pragma comment(lib,"wxbase27ud_xml")
54 #pragma comment(lib,"wxmsw27ud_adv")
55 #pragma comment(lib,"wxmsw27ud_core")
56 #pragma comment(lib,"wxmsw27ud_html")
57 #if wxUSE_DEBUGREPORT
58 #pragma comment(lib,"wxmsw27ud_qa")
59 #endif
60 #pragma comment(lib,"wxmsw27ud_xrc")
61 #pragma comment(lib,"wxmsw27ud_aui")
62 #pragma comment(lib,"wxmsw27ud_richtext")
63 #if wxUSE_MEDIACTRL
64 #pragma comment(lib,"wxmsw27ud_media")
65 #endif
66 #if wxUSE_ODBC
67 #pragma comment(lib,"wxbase27ud_odbc")
68 #endif
69 #else // release
70 #if wxUSE_XML
71 #pragma comment(lib,"wxexpat")
72 #endif
73 #if wxUSE_LIBJPEG
74 #pragma comment(lib,"wxjpeg")
75 #endif
76 #if wxUSE_LIBPNG
77 #pragma comment(lib,"wxpng")
78 #endif
79 #if wxUSE_REGEX
80 #pragma comment(lib,"wxregexu")
81 #endif
82 #if wxUSE_LIBTIFF
83 #pragma comment(lib,"wxtiff")
84 #endif
85 #if wxUSE_ZLIB
86 #pragma comment(lib,"wxzlib")
87 #endif
88 #pragma comment(lib,"wxbase27u")
89 #pragma comment(lib,"wxbase27u_net")
90 #pragma comment(lib,"wxbase27u_xml")
91 #pragma comment(lib,"wxmsw27u_adv")
92 #pragma comment(lib,"wxmsw27u_core")
93 #pragma comment(lib,"wxmsw27u_html")
94 #if wxUSE_DEBUGREPORT
95 #pragma comment(lib,"wxmsw27u_qa")
96 #endif
97 #pragma comment(lib,"wxmsw27u_xrc")
98 #pragma comment(lib,"wxmsw27u_aui")
99 #pragma comment(lib,"wxmsw27u_richtext")
100 #if wxUSE_MEDIACTRL
101 #pragma comment(lib,"wxmsw27u_media")
102 #endif
103 #if wxUSE_ODBC
104 #pragma comment(lib,"wxbase27u_odbc")
105 #endif
106 #endif // debug/release
107 #else // !_UNICODE
108 #ifdef WXUSINGDLL
109 #ifdef _DEBUG
110 #include "../../../lib/vc_dll/mswd/wx/setup.h"
111 #else
112 #include "../../../lib/vc_dll/msw/wx/setup.h"
113 #endif
114 #else // static lib
115 #ifdef _DEBUG
116 #include "../../../lib/vc_lib/mswd/wx/setup.h"
117 #else
118 #include "../../../lib/vc_lib/msw/wx/setup.h"
119 #endif
120 #endif // shared/static
121
122 #ifdef _DEBUG
123 #if wxUSE_XML
124 #pragma comment(lib,"wxexpatd")
125 #endif
126 #if wxUSE_LIBJPEG
127 #pragma comment(lib,"wxjpegd")
128 #endif
129 #if wxUSE_LIBPNG
130 #pragma comment(lib,"wxpngd")
131 #endif
132 #if wxUSE_REGEX
133 #pragma comment(lib,"wxregexd")
134 #endif
135 #if wxUSE_LIBTIFF
136 #pragma comment(lib,"wxtiffd")
137 #endif
138 #if wxUSE_ZLIB
139 #pragma comment(lib,"wxzlibd")
140 #endif
141 #pragma comment(lib,"wxbase27d")
142 #pragma comment(lib,"wxbase27d_net")
143 #pragma comment(lib,"wxbase27d_xml")
144 #pragma comment(lib,"wxmsw27d_adv")
145 #pragma comment(lib,"wxmsw27d_core")
146 #pragma comment(lib,"wxmsw27d_html")
147 #if wxUSE_DEBUGREPORT
148 #pragma comment(lib,"wxmsw27d_qa")
149 #endif
150 #pragma comment(lib,"wxmsw27d_xrc")
151 #pragma comment(lib,"wxmsw27d_aui")
152 #pragma comment(lib,"wxmsw27d_richtext")
153 #if wxUSE_MEDIACTRL
154 #pragma comment(lib,"wxmsw27d_media")
155 #endif
156 #if wxUSE_ODBC
157 #pragma comment(lib,"wxbase27d_odbc")
158 #endif
159 #else // release
160 #if wxUSE_XML
161 #pragma comment(lib,"wxexpat")
162 #endif
163 #if wxUSE_LIBJPEG
164 #pragma comment(lib,"wxjpeg")
165 #endif
166 #if wxUSE_LIBPNG
167 #pragma comment(lib,"wxpng")
168 #endif
169 #if wxUSE_REGEX
170 #pragma comment(lib,"wxregex")
171 #endif
172 #if wxUSE_LIBTIFF
173 #pragma comment(lib,"wxtiff")
174 #endif
175 #if wxUSE_ZLIB
176 #pragma comment(lib,"wxzlib")
177 #endif
178 #pragma comment(lib,"wxbase27")
179 #pragma comment(lib,"wxbase27_net")
180 #pragma comment(lib,"wxbase27_xml")
181 #pragma comment(lib,"wxmsw27_adv")
182 #pragma comment(lib,"wxmsw27_core")
183 #pragma comment(lib,"wxmsw27_html")
184 #if wxUSE_DEBUGREPORT
185 #pragma comment(lib,"wxmsw27_qa")
186 #endif
187 #pragma comment(lib,"wxmsw27_xrc")
188 #pragma comment(lib,"wxmsw27_aui")
189 #pragma comment(lib,"wxmsw27_richtext")
190 #if wxUSE_MEDIACTRL
191 #pragma comment(lib,"wxmsw27_media")
192 #endif
193 #if wxUSE_ODBC
194 #pragma comment(lib,"wxbase27_odbc")
195 #endif
196 #endif // debug/release
197 #endif // _UNICODE/!_UNICODE
198 #else
199 #error "This file should only be included when using Microsoft Visual C++"
200 #endif
201