]>
Commit | Line | Data |
---|---|---|
c79a329d | 1 | /* This define (__WX_SETUP_H__) is used both to ensure setup.h is included |
75ef19df RR |
2 | * only once and to indicate that we are building using configure. */ |
3 | #ifndef __WX_SETUP_H__ | |
4 | #define __WX_SETUP_H__ | |
5 | ||
6 | #ifdef __GNUG__ | |
adaa20ad | 7 | #pragma interface |
75ef19df RR |
8 | #endif |
9 | ||
adaa20ad | 10 | /* never undefine inline or const keywords for C++ compilation */ |
458ed37d | 11 | #ifndef __cplusplus |
adaa20ad | 12 | |
75ef19df RR |
13 | /* Define to empty if the keyword does not work. */ |
14 | #undef const | |
adaa20ad VZ |
15 | |
16 | /* Define as __inline if that's what the C compiler calls it. */ | |
17 | #undef inline | |
18 | ||
19 | #endif /* __cplusplus */ | |
75ef19df | 20 | |
bdc72a22 VZ |
21 | /* fill in with the string wxGetOsDescription() will return */ |
22 | #undef WXWIN_OS_DESCRIPTION | |
23 | ||
7e67ed0d VZ |
24 | /* the installation location prefix from configure */ |
25 | #undef wxINSTALL_PREFIX | |
26 | ||
75ef19df RR |
27 | /* Define to `int' if <sys/types.h> doesn't define. */ |
28 | #undef gid_t | |
29 | ||
75ef19df RR |
30 | /* Define to `int' if <sys/types.h> doesn't define. */ |
31 | #undef mode_t | |
32 | ||
33 | /* Define to `long' if <sys/types.h> doesn't define. */ | |
34 | #undef off_t | |
35 | ||
36 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
37 | #undef pid_t | |
38 | ||
39 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
40 | #undef size_t | |
41 | ||
d51253e8 RL |
42 | /* Define if ssize_t type is available. */ |
43 | #undef HAVE_SSIZE_T | |
44 | ||
75ef19df RR |
45 | /* Define if you have the ANSI C header files. */ |
46 | #undef STDC_HEADERS | |
47 | ||
5c0a20c3 VZ |
48 | /* Define this to get extra features from GNU libc. */ |
49 | #undef _GNU_SOURCE | |
50 | ||
75ef19df RR |
51 | /* Define to `int' if <sys/types.h> doesn't define. */ |
52 | #undef uid_t | |
53 | ||
54 | /* Define if your processor stores words with the most significant | |
55 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ | |
56 | #undef WORDS_BIGENDIAN | |
57 | ||
13111b2a | 58 | /* Define this if your version of GTK+ is greater than 1.2 */ |
75ef19df RR |
59 | #undef __WXGTK12__ |
60 | ||
f6bcfd97 BP |
61 | /* Define this if your version of GTK+ is greater than 1.2.7 */ |
62 | #undef __WXGTK127__ | |
63 | ||
9755e73b | 64 | /* Define this if your version of GTK+ is greater than 2.0 */ |
6f72b082 | 65 | #undef __WXGTK20__ |
13111b2a | 66 | |
9755e73b VS |
67 | /* Define this if your version of GTK+ is greater than 2.4 */ |
68 | #undef __WXGTK24__ | |
69 | ||
16bd311d RR |
70 | /* Define this if you want to use GPE features */ |
71 | #undef __WXGPE__ | |
72 | ||
da494b40 MB |
73 | /* Define this if your version of Motif is greater than 2.0 */ |
74 | #undef __WXMOTIF20__ | |
75 | ||
75ef19df RR |
76 | /* |
77 | * Define to 1 for Unix[-like] system | |
78 | */ | |
79 | #define wxUSE_UNIX 0 | |
80 | ||
81 | #undef __UNIX__ | |
4a8900f2 | 82 | |
75ef19df | 83 | #undef __AIX__ |
75ef19df | 84 | #undef __BSD__ |
8eee0251 | 85 | #undef __DARWIN__ |
4a8900f2 VZ |
86 | #undef __EMX__ |
87 | #undef __FREEBSD__ | |
88 | #undef __HPUX__ | |
89 | #undef __LINUX__ | |
f6bcfd97 | 90 | #undef __NETBSD__ |
2b5f62a0 | 91 | #undef __OPENBSD__ |
4a8900f2 VZ |
92 | #undef __OSF__ |
93 | #undef __SGI__ | |
94 | #undef __SOLARIS__ | |
95 | #undef __SUN__ | |
96 | #undef __SUNOS__ | |
97 | #undef __SVR4__ | |
98 | #undef __SYSV__ | |
75ef19df | 99 | #undef __ULTRIX__ |
4a8900f2 VZ |
100 | #undef __UNIXWARE__ |
101 | #undef __VMS__ | |
102 | ||
103 | #undef __IA64__ | |
104 | #undef __ALPHA__ | |
75ef19df | 105 | |
c79a329d JS |
106 | /* NanoX (with wxX11) */ |
107 | #define wxUSE_NANOX 0 | |
108 | ||
8eee0251 GD |
109 | /* PowerPC Darwin & Mac OS X */ |
110 | #undef __POWERPC__ | |
82d43113 | 111 | #undef TARGET_CARBON |
8eee0251 | 112 | |
f9bc1684 VS |
113 | /* MS-DOS with DJGPP */ |
114 | #undef __DOS__ | |
115 | ||
80d895cd HH |
116 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ |
117 | #ifndef __WINDOWS__ | |
75ef19df | 118 | #undef __WINDOWS__ |
80d895cd HH |
119 | #endif |
120 | ||
ab82ab07 | 121 | #ifndef __WIN95__ |
75ef19df | 122 | #undef __WIN95__ |
ab82ab07 | 123 | #endif |
0e448231 | 124 | #ifndef __WIN32__ |
75ef19df | 125 | #undef __WIN32__ |
0e448231 | 126 | #endif |
ab82ab07 | 127 | #ifndef __GNUWIN32__ |
75ef19df | 128 | #undef __GNUWIN32__ |
ab82ab07 MB |
129 | #endif |
130 | #ifndef STRICT | |
1db46618 | 131 | #undef STRICT |
ab82ab07 MB |
132 | #endif |
133 | #ifndef WINVER | |
75ef19df | 134 | #undef WINVER |
ab82ab07 | 135 | #endif |
75ef19df | 136 | |
ff398597 SN |
137 | /* OS/2 with EMX */ |
138 | #undef __OS2__ | |
139 | ||
2fddf893 VZ |
140 | /* --- start common options --- */ |
141 | ||
142 | ||
143 | #ifndef wxUSE_GUI | |
f50f0a48 | 144 | #define wxUSE_GUI 0 |
2fddf893 VZ |
145 | #endif |
146 | ||
147 | ||
148 | #define WXWIN_COMPATIBILITY_2_2 0 | |
149 | ||
f50f0a48 | 150 | #define WXWIN_COMPATIBILITY_2_4 0 |
2fddf893 | 151 | |
f50f0a48 | 152 | #define wxDIALOG_UNIT_COMPATIBILITY 0 |
2fddf893 VZ |
153 | |
154 | ||
155 | ||
156 | #define wxUSE_DEBUG_CONTEXT 0 | |
157 | ||
158 | #define wxUSE_MEMORY_TRACING 0 | |
159 | ||
160 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
161 | ||
162 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
163 | ||
164 | #if defined(_MSC_VER) || \ | |
165 | (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550) | |
f50f0a48 | 166 | #define wxUSE_ON_FATAL_EXCEPTION 0 |
2fddf893 VZ |
167 | #else |
168 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
169 | #endif | |
170 | ||
eaff0f0d VZ |
171 | #define wxUSE_STACKWALKER 0 |
172 | ||
2fddf893 VZ |
173 | |
174 | #ifndef wxUSE_UNICODE | |
175 | #define wxUSE_UNICODE 0 | |
176 | #endif | |
177 | ||
178 | #define wxUSE_UNICODE_MSLU 0 | |
179 | ||
f50f0a48 | 180 | #define wxUSE_WCHAR_T 0 |
2fddf893 VZ |
181 | |
182 | ||
f50f0a48 | 183 | #define wxUSE_EXCEPTIONS 0 |
2fddf893 VZ |
184 | |
185 | #define wxUSE_EXTENDED_RTTI 0 | |
186 | ||
2fddf893 VZ |
187 | #define wxUSE_STL 0 |
188 | ||
f50f0a48 | 189 | #define wxUSE_LOG 0 |
2fddf893 | 190 | |
f50f0a48 | 191 | #define wxUSE_LOGWINDOW 0 |
2fddf893 | 192 | |
f50f0a48 | 193 | #define wxUSE_LOGGUI 0 |
2fddf893 | 194 | |
f50f0a48 | 195 | #define wxUSE_LOG_DIALOG 0 |
2fddf893 | 196 | |
f50f0a48 | 197 | #define wxUSE_CMDLINE_PARSER 0 |
2fddf893 | 198 | |
f50f0a48 | 199 | #define wxUSE_THREADS 0 |
2fddf893 | 200 | |
f50f0a48 | 201 | #define wxUSE_STREAMS 0 |
2fddf893 VZ |
202 | |
203 | #define wxUSE_STD_IOSTREAM 0 | |
204 | ||
205 | ||
f50f0a48 | 206 | #define wxUSE_LONGLONG 0 |
2fddf893 | 207 | |
f50f0a48 VZ |
208 | #define wxUSE_FILE 0 |
209 | #define wxUSE_FFILE 0 | |
2fddf893 | 210 | |
f50f0a48 | 211 | #define wxUSE_FSVOLUME 0 |
2fddf893 | 212 | |
f50f0a48 | 213 | #define wxUSE_TEXTBUFFER 0 |
2fddf893 | 214 | |
f50f0a48 | 215 | #define wxUSE_TEXTFILE 0 |
2fddf893 | 216 | |
f50f0a48 | 217 | #define wxUSE_INTL 0 |
2fddf893 | 218 | |
f50f0a48 | 219 | #define wxUSE_DATETIME 0 |
2fddf893 | 220 | |
f50f0a48 | 221 | #define wxUSE_TIMER 0 |
2fddf893 | 222 | |
f50f0a48 | 223 | #define wxUSE_STOPWATCH 0 |
2fddf893 | 224 | |
f50f0a48 | 225 | #define wxUSE_CONFIG 0 |
2fddf893 | 226 | |
f50f0a48 | 227 | #define wxUSE_CONFIG_NATIVE 0 |
2fddf893 | 228 | |
f50f0a48 | 229 | #define wxUSE_DIALUP_MANAGER 0 |
2fddf893 | 230 | |
f50f0a48 | 231 | #define wxUSE_DYNLIB_CLASS 0 |
2fddf893 | 232 | |
f50f0a48 | 233 | #define wxUSE_DYNAMIC_LOADER 0 |
2fddf893 | 234 | |
f50f0a48 | 235 | #define wxUSE_SOCKETS 0 |
2fddf893 | 236 | |
f50f0a48 | 237 | #define wxUSE_FILESYSTEM 0 |
2fddf893 | 238 | |
f50f0a48 | 239 | #define wxUSE_FS_ZIP 0 |
2fddf893 | 240 | |
f50f0a48 | 241 | #define wxUSE_FS_INET 0 |
2fddf893 | 242 | |
81f90336 MW |
243 | #define wxUSE_ARCSTREAM 0 |
244 | ||
f50f0a48 | 245 | #define wxUSE_ZIPSTREAM 0 |
2fddf893 | 246 | |
f50f0a48 | 247 | #define wxUSE_ZLIB 0 |
2fddf893 | 248 | |
f50f0a48 | 249 | #define wxUSE_APPLE_IEEE 0 |
2fddf893 | 250 | |
f50f0a48 | 251 | #define wxUSE_JOYSTICK 0 |
2fddf893 | 252 | |
f50f0a48 | 253 | #define wxUSE_FONTMAP 0 |
2fddf893 | 254 | |
f50f0a48 | 255 | #define wxUSE_MIMETYPE 0 |
2fddf893 | 256 | |
f50f0a48 | 257 | #define wxUSE_PROTOCOL 0 |
2fddf893 | 258 | |
f50f0a48 VZ |
259 | #define wxUSE_PROTOCOL_FILE 0 |
260 | #define wxUSE_PROTOCOL_FTP 0 | |
261 | #define wxUSE_PROTOCOL_HTTP 0 | |
2fddf893 | 262 | |
f50f0a48 | 263 | #define wxUSE_URL 0 |
2fddf893 VZ |
264 | |
265 | #define wxUSE_URL_NATIVE 0 | |
266 | ||
f50f0a48 | 267 | #define wxUSE_REGEX 0 |
2fddf893 | 268 | |
f50f0a48 | 269 | #define wxUSE_SYSTEM_OPTIONS 0 |
2fddf893 | 270 | |
f50f0a48 | 271 | #define wxUSE_SOUND 0 |
2fddf893 | 272 | |
f50f0a48 | 273 | #define wxUSE_MEDIACTRL 0 |
2fddf893 VZ |
274 | |
275 | #define wxUSE_QUICKTIME 0 | |
276 | ||
277 | #define wxUSE_DIRECTSHOW 0 | |
278 | ||
ce756cb0 RN |
279 | #define wxUSE_GSTREAMER 0 |
280 | ||
f50f0a48 | 281 | #define wxUSE_XRC 0 |
2fddf893 VZ |
282 | |
283 | #if wxUSE_XRC | |
f50f0a48 | 284 | #define wxUSE_XML 0 |
2fddf893 VZ |
285 | #else |
286 | # define wxUSE_XML 0 | |
287 | #endif | |
288 | ||
289 | ||
f50f0a48 VZ |
290 | #define wxUSE_CONTROLS 0 |
291 | ||
292 | #define wxUSE_POPUPWIN 0 | |
293 | ||
294 | #define wxUSE_TIPWINDOW 0 | |
295 | ||
296 | #define wxUSE_BUTTON 0 | |
297 | #define wxUSE_BMPBUTTON 0 | |
298 | #define wxUSE_CALENDARCTRL 0 | |
299 | #define wxUSE_CHECKBOX 0 | |
300 | #define wxUSE_CHECKLISTBOX 0 | |
301 | #define wxUSE_CHOICE 0 | |
302 | #define wxUSE_COMBOBOX 0 | |
303 | #define wxUSE_DATEPICKCTRL 0 | |
304 | #define wxUSE_GAUGE 0 | |
305 | #define wxUSE_LISTBOX 0 | |
306 | #define wxUSE_LISTCTRL 0 | |
307 | #define wxUSE_RADIOBOX 0 | |
308 | #define wxUSE_RADIOBTN 0 | |
309 | #define wxUSE_SCROLLBAR 0 | |
310 | #define wxUSE_SLIDER 0 | |
311 | #define wxUSE_SPINBTN 0 | |
312 | #define wxUSE_SPINCTRL 0 | |
313 | #define wxUSE_STATBOX 0 | |
314 | #define wxUSE_STATLINE 0 | |
315 | #define wxUSE_STATTEXT 0 | |
316 | #define wxUSE_STATBMP 0 | |
317 | #define wxUSE_TEXTCTRL 0 | |
318 | #define wxUSE_TOGGLEBTN 0 | |
319 | #define wxUSE_TREECTRL 0 | |
320 | ||
321 | #define wxUSE_STATUSBAR 0 | |
2fddf893 | 322 | |
c67b4daf | 323 | #if defined(__WXMSW__) || defined(__WXMAC__) |
f50f0a48 | 324 | #define wxUSE_NATIVE_STATUSBAR 0 |
c67b4daf VZ |
325 | #else |
326 | #define wxUSE_NATIVE_STATUSBAR 0 | |
327 | #endif | |
2fddf893 | 328 | |
f50f0a48 VZ |
329 | #define wxUSE_TOOLBAR 0 |
330 | #define wxUSE_TOOLBAR_NATIVE 0 | |
2fddf893 | 331 | |
f50f0a48 | 332 | #define wxUSE_NOTEBOOK 0 |
2fddf893 | 333 | |
f50f0a48 | 334 | #define wxUSE_LISTBOOK 0 |
2fddf893 | 335 | |
f50f0a48 | 336 | #define wxUSE_CHOICEBOOK 0 |
2fddf893 VZ |
337 | |
338 | #define wxUSE_TAB_DIALOG 0 | |
339 | ||
f50f0a48 | 340 | #define wxUSE_GRID 0 |
2fddf893 | 341 | |
f50f0a48 | 342 | #define wxUSE_MINIFRAME 0 |
c67b4daf | 343 | |
2fddf893 | 344 | |
f50f0a48 | 345 | #define wxUSE_ACCEL 0 |
2fddf893 | 346 | |
f50f0a48 | 347 | #define wxUSE_HOTKEY 0 |
2fddf893 | 348 | |
f50f0a48 | 349 | #define wxUSE_CARET 0 |
2fddf893 VZ |
350 | |
351 | #define wxUSE_DISPLAY 0 | |
352 | ||
f50f0a48 | 353 | #define wxUSE_GEOMETRY 0 |
2fddf893 | 354 | |
f50f0a48 | 355 | #define wxUSE_IMAGLIST 0 |
2fddf893 | 356 | |
f50f0a48 | 357 | #define wxUSE_MENUS 0 |
2fddf893 | 358 | |
f50f0a48 | 359 | #define wxUSE_SASH 0 |
2fddf893 | 360 | |
f50f0a48 | 361 | #define wxUSE_SPLITTER 0 |
2fddf893 | 362 | |
f50f0a48 | 363 | #define wxUSE_TOOLTIPS 0 |
2fddf893 | 364 | |
f50f0a48 | 365 | #define wxUSE_VALIDATORS 0 |
2fddf893 VZ |
366 | |
367 | ||
f50f0a48 | 368 | #define wxUSE_COMMON_DIALOGS 0 |
2fddf893 | 369 | |
f50f0a48 | 370 | #define wxUSE_BUSYINFO 0 |
2fddf893 | 371 | |
f50f0a48 | 372 | #define wxUSE_CHOICEDLG 0 |
2fddf893 | 373 | |
f50f0a48 | 374 | #define wxUSE_COLOURDLG 0 |
2fddf893 | 375 | |
f50f0a48 | 376 | #define wxUSE_DIRDLG 0 |
2fddf893 VZ |
377 | |
378 | ||
f50f0a48 | 379 | #define wxUSE_FILEDLG 0 |
2fddf893 | 380 | |
f50f0a48 | 381 | #define wxUSE_FINDREPLDLG 0 |
2fddf893 | 382 | |
f50f0a48 | 383 | #define wxUSE_FONTDLG 0 |
2fddf893 | 384 | |
f50f0a48 | 385 | #define wxUSE_MSGDLG 0 |
2fddf893 | 386 | |
f50f0a48 | 387 | #define wxUSE_PROGRESSDLG 0 |
2fddf893 | 388 | |
f50f0a48 | 389 | #define wxUSE_STARTUP_TIPS 0 |
2fddf893 | 390 | |
f50f0a48 | 391 | #define wxUSE_TEXTDLG 0 |
2fddf893 | 392 | |
f50f0a48 | 393 | #define wxUSE_NUMBERDLG 0 |
2fddf893 | 394 | |
f50f0a48 | 395 | #define wxUSE_SPLASH 0 |
2fddf893 | 396 | |
f50f0a48 | 397 | #define wxUSE_WIZARDDLG 0 |
2fddf893 VZ |
398 | |
399 | ||
f50f0a48 VZ |
400 | #define wxUSE_METAFILE 0 |
401 | #define wxUSE_ENH_METAFILE 0 | |
2fddf893 VZ |
402 | #define wxUSE_WIN_METAFILES_ALWAYS 0 |
403 | ||
404 | ||
f50f0a48 | 405 | #define wxUSE_MDI 0 |
2fddf893 | 406 | |
f50f0a48 | 407 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 |
2fddf893 | 408 | |
f50f0a48 | 409 | #define wxUSE_MDI_ARCHITECTURE 0 |
2fddf893 | 410 | |
f50f0a48 | 411 | #define wxUSE_PRINTING_ARCHITECTURE 0 |
2fddf893 | 412 | |
f50f0a48 | 413 | #define wxUSE_HTML 0 |
2fddf893 VZ |
414 | |
415 | #define wxUSE_GLCANVAS 0 | |
416 | ||
417 | ||
f50f0a48 | 418 | #define wxUSE_CLIPBOARD 0 |
2fddf893 | 419 | |
f50f0a48 | 420 | #define wxUSE_DATAOBJ 0 |
2fddf893 | 421 | |
f50f0a48 | 422 | #define wxUSE_DRAG_AND_DROP 0 |
2fddf893 VZ |
423 | |
424 | #define wxUSE_ACCESSIBILITY 0 | |
425 | ||
426 | ||
f50f0a48 | 427 | #define wxUSE_SNGLINST_CHECKER 0 |
2fddf893 | 428 | |
f50f0a48 | 429 | #define wxUSE_DRAGIMAGE 0 |
2fddf893 | 430 | |
f50f0a48 | 431 | #define wxUSE_IPC 0 |
2fddf893 | 432 | |
f50f0a48 | 433 | #define wxUSE_HELP 0 |
2fddf893 | 434 | |
f50f0a48 | 435 | #define wxUSE_MS_HTML_HELP 0 |
2fddf893 VZ |
436 | |
437 | ||
f50f0a48 | 438 | #define wxUSE_WXHTML_HELP 0 |
2fddf893 VZ |
439 | |
440 | #define wxUSE_RESOURCES 0 | |
441 | ||
f50f0a48 | 442 | #define wxUSE_CONSTRAINTS 0 |
2fddf893 VZ |
443 | |
444 | ||
f50f0a48 | 445 | #define wxUSE_SPLINES 0 |
2fddf893 VZ |
446 | |
447 | ||
f50f0a48 | 448 | #define wxUSE_MOUSEWHEEL 0 |
2fddf893 VZ |
449 | |
450 | ||
451 | ||
452 | #define wxUSE_POSTSCRIPT 0 | |
453 | ||
f50f0a48 | 454 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 |
2fddf893 | 455 | |
f50f0a48 | 456 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 |
2fddf893 VZ |
457 | |
458 | ||
459 | #define wxUSE_ODBC 0 | |
460 | ||
f50f0a48 | 461 | #define wxODBC_FWD_ONLY_CURSORS 0 |
2fddf893 VZ |
462 | |
463 | #define wxODBC_BACKWARD_COMPATABILITY 0 | |
464 | ||
465 | ||
f50f0a48 | 466 | #define REMOVE_UNUSED_ARG 0 |
2fddf893 | 467 | |
f50f0a48 | 468 | #define wxUSE_IOSTREAMH 0 |
2fddf893 VZ |
469 | |
470 | ||
471 | ||
f50f0a48 | 472 | #define wxUSE_IMAGE 0 |
2fddf893 | 473 | |
f50f0a48 | 474 | #define wxUSE_LIBPNG 0 |
2fddf893 | 475 | |
f50f0a48 | 476 | #define wxUSE_LIBJPEG 0 |
2fddf893 | 477 | |
f50f0a48 | 478 | #define wxUSE_LIBTIFF 0 |
2fddf893 | 479 | |
f50f0a48 | 480 | #define wxUSE_GIF 0 |
2fddf893 | 481 | |
f50f0a48 | 482 | #define wxUSE_PNM 0 |
2fddf893 | 483 | |
f50f0a48 | 484 | #define wxUSE_PCX 0 |
2fddf893 VZ |
485 | |
486 | #define wxUSE_IFF 0 | |
487 | ||
f50f0a48 | 488 | #define wxUSE_XPM 0 |
2fddf893 | 489 | |
f50f0a48 | 490 | #define wxUSE_ICO_CUR 0 |
2fddf893 | 491 | |
f50f0a48 | 492 | #define wxUSE_PALETTE 0 |
2fddf893 VZ |
493 | |
494 | /* --- end common options --- */ | |
495 | ||
c67b4daf VZ |
496 | /* for some features we don't have dedicated configure switches, so just choose |
497 | * the common values automatically */ | |
498 | #if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__) | |
7ee20d36 SN |
499 | #define wxUSE_OWNER_DRAWN 1 |
500 | #endif | |
501 | ||
b39dbf34 | 502 | #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__) |
e959aee2 VZ |
503 | #define wxUSE_RICHEDIT 1 |
504 | #else | |
505 | #define wxUSE_RICHEDIT 0 | |
506 | #endif | |
507 | ||
75ef19df RR |
508 | /* |
509 | * Supports bool type | |
510 | */ | |
511 | #undef HAVE_BOOL | |
512 | ||
986ecc86 VZ |
513 | /* |
514 | * Define if your compiler supports the explicit keyword | |
515 | */ | |
516 | #undef HAVE_EXPLICIT | |
517 | ||
521196a2 MB |
518 | /* |
519 | * Define if your compiler supports const_cast<>() | |
520 | */ | |
521 | #undef HAVE_CONST_CAST | |
522 | ||
4ebb542f VZ |
523 | /* |
524 | * Define if your compiler supports reinterpret_cast<>() | |
525 | */ | |
526 | #undef HAVE_REINTERPRET_CAST | |
527 | ||
ecfd48ca VZ |
528 | /* |
529 | * Define if your compiler supports static_cast<>() | |
530 | */ | |
531 | #undef HAVE_STATIC_CAST | |
532 | ||
8fa53e0e VZ |
533 | /* |
534 | * Define if your compiler has C99 va_copy | |
535 | */ | |
536 | #undef HAVE_VA_COPY | |
537 | ||
538 | /* | |
539 | * Define if va_list type is an array | |
540 | */ | |
541 | #undef VA_LIST_IS_ARRAY | |
542 | ||
e87b7833 MB |
543 | /* |
544 | * Define if your compiler has std::wstring | |
545 | */ | |
546 | #undef HAVE_STD_WSTRING | |
547 | /* | |
bdcade0a | 548 | * Define if your compiler has compliant std::string::compare |
e87b7833 MB |
549 | */ |
550 | #undef HAVE_STD_STRING_COMPARE | |
bdcade0a MB |
551 | /* |
552 | * Define if your compiler has <hash_map> | |
553 | */ | |
554 | #undef HAVE_HASH_MAP | |
555 | /* | |
556 | * Define if your compiler has <ext/hash_map> | |
557 | */ | |
558 | #undef HAVE_EXT_HASH_MAP | |
559 | /* | |
560 | * Define if your compiler has std::hash_map/hash_set | |
561 | */ | |
562 | #undef HAVE_STD_HASH_MAP | |
563 | /* | |
564 | * Define if your compiler has __gnu_cxx::hash_map/hash_set | |
565 | */ | |
566 | #undef HAVE_GNU_CXX_HASH_MAP | |
e87b7833 | 567 | |
0aa7fa9a VS |
568 | /* |
569 | * The built-in regex supports advanced REs in additional to POSIX's basic | |
570 | * and extended. Your system regex probably won't support this, and in this | |
571 | * case WX_NO_REGEX_ADVANCED should be defined. | |
572 | */ | |
573 | #undef WX_NO_REGEX_ADVANCED | |
f93ca9fd VS |
574 | /* |
575 | * Use SDL for audio (Unix) | |
576 | */ | |
577 | #define wxUSE_LIBSDL 0 | |
7c72311f RR |
578 | /* |
579 | * Use GNOME print for printing under GTK+ 2.0 | |
580 | */ | |
581 | #define wxUSE_LIBGNOMEPRINT 0 | |
75ef19df RR |
582 | /* |
583 | * Use iODBC | |
584 | */ | |
0bdb08e7 | 585 | #define wxUSE_BUILTIN_IODBC 0 |
3fed1840 RR |
586 | /* |
587 | * Use freetype | |
588 | */ | |
589 | #define wxUSE_FREETYPE 0 | |
75ef19df RR |
590 | /* |
591 | * Have glibc2 | |
592 | */ | |
593 | #define wxHAVE_GLIBC2 0 | |
594 | /* | |
595 | * Use libXpm | |
596 | */ | |
597 | #define wxHAVE_LIB_XPM 0 | |
598 | /* | |
2fddf893 | 599 | * Use consistent PostScript fonts for AFM and printing (!) |
eb4efbdc | 600 | */ |
2fddf893 | 601 | #define wxUSE_NORMALIZED_PS_FONTS 0 |
eb4efbdc | 602 | |
2fddf893 VZ |
603 | /* compatibility */ |
604 | #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS | |
4f3c5f06 | 605 | |
75ef19df | 606 | /* |
2fddf893 | 607 | * Use OpenGL |
75ef19df | 608 | */ |
2fddf893 | 609 | #define wxUSE_OPENGL 0 |
75ef19df | 610 | |
1e6feb95 | 611 | /* |
2fddf893 | 612 | * Set to 1 to compile MS Windows XP theme engine support |
1e6feb95 | 613 | */ |
2fddf893 | 614 | #define wxUSE_UXTHEME 1 |
1e6feb95 | 615 | |
0b01706f | 616 | /* |
2fddf893 VZ |
617 | * Set to 1 to auto-adapt to MS Windows XP themes where possible |
618 | * (notably, wxNotebook pages) | |
0b01706f | 619 | */ |
2fddf893 | 620 | #define wxUSE_UXTHEME_AUTO 1 |
0b01706f | 621 | |
75ef19df | 622 | /* |
2fddf893 VZ |
623 | * Work around a bug in GNU libc 5.x wcstombs() implementation. |
624 | * | |
625 | * Note that you must link your programs with libc.a if you enable this and you | |
626 | * have libc 5 (you should enable this for libc6 where wcsrtombs() is | |
627 | * thread-safe version of wcstombs()). | |
75ef19df | 628 | */ |
2fddf893 | 629 | #define wxUSE_WCSRTOMBS 0 |
75ef19df | 630 | |
1e6feb95 | 631 | /* |
2fddf893 VZ |
632 | * Use the new experimental implementation of wxString::Printf()? |
633 | * | |
634 | * Warning: enabling this may cause internal compiler errors with gcc! | |
1e6feb95 | 635 | */ |
2fddf893 | 636 | #define wxUSE_EXPERIMENTAL_PRINTF 0 |
1e6feb95 VZ |
637 | |
638 | /* | |
2fddf893 | 639 | * Use wxGetResource & wxWriteResource (change .Xdefaults) |
1e6feb95 | 640 | */ |
2fddf893 | 641 | #define wxUSE_X_RESOURCES 0 |
8db37e06 | 642 | /* |
2fddf893 | 643 | * Use OLE (MSW only) |
8db37e06 | 644 | */ |
2fddf893 | 645 | #define wxUSE_OLE 0 |
8db37e06 | 646 | |
2fddf893 VZ |
647 | /* for compatibility */ |
648 | #define wxUSE_WX_RESOURCES wxUSE_RESOURCES | |
1e6feb95 VZ |
649 | |
650 | /* | |
2fddf893 | 651 | * Use MS HTML Help via libmspack (Unix) |
1e6feb95 | 652 | */ |
2fddf893 | 653 | #define wxUSE_LIBMSPACK 0 |
1e6feb95 | 654 | |
04eb894b | 655 | /* |
2fddf893 | 656 | * Matthews garbage collection (used for MrEd?) |
04eb894b | 657 | */ |
2fddf893 | 658 | #define WXGARBAGE_COLLECTION_ON 0 |
04eb894b | 659 | |
1e6feb95 | 660 | /* |
2fddf893 | 661 | * wxWebKitCtrl |
1e6feb95 | 662 | */ |
2fddf893 | 663 | #define wxUSE_WEBKIT 0 |
1e6feb95 | 664 | |
75ef19df RR |
665 | /* |
666 | * The const keyword is being introduced more in wxWindows. | |
667 | * You can use this setting to maintain backward compatibility. | |
668 | * If 0: will use const wherever possible. | |
669 | * If 1: will use const only where necessary | |
670 | * for precompiled headers to work. | |
671 | * If 2: will be totally backward compatible, but precompiled | |
672 | * headers may not work and program size will be larger. | |
673 | */ | |
674 | #define CONST_COMPATIBILITY 0 | |
675 | ||
360d6699 VZ |
676 | /* define with the name of timezone variable */ |
677 | #undef WX_TIMEZONE | |
678 | ||
75ef19df RR |
679 | /* The type of 3rd argument to getsockname() - usually size_t or int */ |
680 | #undef SOCKLEN_T | |
681 | ||
6bbbf0ad DE |
682 | /* The type of 5th argument to getsockopt() - usually size_t or int */ |
683 | #undef SOCKOPTLEN_T | |
684 | ||
54ab82b3 VZ |
685 | /* The type of statvfs(2) argument */ |
686 | #undef WX_STATFS_T | |
687 | ||
f6bcfd97 BP |
688 | /* The signal handler prototype */ |
689 | #undef wxTYPE_SA_HANDLER | |
690 | ||
afc31813 VZ |
691 | /* gettimeofday() usually takes 2 arguments, but some really old systems might |
692 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
693 | #undef WX_GETTIMEOFDAY_NO_TZ | |
694 | ||
0470b1e6 VZ |
695 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ |
696 | #undef WX_GMTOFF_IN_TM | |
697 | ||
2b5f62a0 VZ |
698 | /* Define if you have poll(2) function */ |
699 | #undef HAVE_POLL | |
700 | ||
bd3277fe VZ |
701 | /* Define if you have pw_gecos field in struct passwd */ |
702 | #undef HAVE_PW_GECOS | |
703 | ||
eaff0f0d VZ |
704 | /* Define if you have __cxa_demangle() in <cxxabi.h> */ |
705 | #undef HAVE_CXA_DEMANGLE | |
706 | ||
75ef19df RR |
707 | /* Define if you have dlopen() */ |
708 | #undef HAVE_DLOPEN | |
709 | ||
afc31813 VZ |
710 | /* Define if you have gettimeofday() */ |
711 | #undef HAVE_GETTIMEOFDAY | |
712 | ||
713 | /* Define if you have ftime() */ | |
714 | #undef HAVE_FTIME | |
715 | ||
90dd450c VZ |
716 | /* Define if you have support for large (64 bit size) files */ |
717 | #undef HAVE_LARGEFILE_SUPPORT | |
718 | ||
afc31813 VZ |
719 | /* Define if you have localtime() */ |
720 | #undef HAVE_LOCALTIME | |
721 | ||
75ef19df RR |
722 | /* Define if you have nanosleep() */ |
723 | #undef HAVE_NANOSLEEP | |
724 | ||
725 | /* Define if you have sched_yield */ | |
726 | #undef HAVE_SCHED_YIELD | |
727 | ||
d9b9876f VZ |
728 | /* Define if you have pthread_mutexattr_t and functions to work with it */ |
729 | #undef HAVE_PTHREAD_MUTEXATTR_T | |
730 | ||
731 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ | |
732 | #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER | |
733 | ||
75ef19df RR |
734 | /* Define if you have pthread_cancel */ |
735 | #undef HAVE_PTHREAD_CANCEL | |
736 | ||
eb4efbdc VZ |
737 | /* Define if you have sigaction() */ |
738 | #undef HAVE_SIGACTION | |
739 | ||
740 | /* Define if you have sigemptyset() */ | |
741 | #undef HAVE_SIGEMPTYSET | |
742 | ||
270a909e VZ |
743 | /* Define if you have shl_load() */ |
744 | #undef HAVE_SHL_LOAD | |
745 | ||
52e8b690 VZ |
746 | /* define if you have statfs function */ |
747 | #undef HAVE_STATFS | |
748 | ||
9952adac VZ |
749 | /* define if you have statvfs function */ |
750 | #undef HAVE_STATVFS | |
751 | ||
83307f33 VZ |
752 | /* Define if you have strptime() */ |
753 | #undef HAVE_STRPTIME | |
754 | ||
75ef19df RR |
755 | /* Define if you have all functions to set thread priority */ |
756 | #undef HAVE_THREAD_PRIORITY_FUNCTIONS | |
757 | ||
758 | /* Define if you can specify exit functions to a thread */ | |
759 | #undef HAVE_THREAD_CLEANUP_FUNCTIONS | |
760 | ||
270a909e VZ |
761 | /* Define if you have timegm() function */ |
762 | #undef HAVE_TIMEGM | |
75ef19df RR |
763 | |
764 | /* Define if you have vsnprintf() */ | |
765 | #undef HAVE_VSNPRINTF | |
766 | ||
ec0d6da3 VZ |
767 | /* Define if you have vsnprintf() declaration in the header */ |
768 | #undef HAVE_VSNPRINTF_DECL | |
769 | ||
75ef19df RR |
770 | /* Define if you have usleep() */ |
771 | #undef HAVE_USLEEP | |
772 | ||
773 | /* Define if you have wcslen function */ | |
774 | #undef HAVE_WCSLEN | |
775 | ||
776 | /* define if you have vsscanf function */ | |
777 | #undef HAVE_VSSCANF | |
778 | ||
779 | /* The number of bytes in a char. */ | |
780 | #undef SIZEOF_CHAR | |
781 | ||
6f72b082 OK |
782 | /* The number of bytes in a wchar_t. */ |
783 | #undef SIZEOF_WCHAR_T | |
784 | ||
75ef19df RR |
785 | /* The number of bytes in a int. */ |
786 | #undef SIZEOF_INT | |
787 | ||
a369f7c8 VZ |
788 | /* The number of bytes in a pointer. */ |
789 | #undef SIZEOF_VOID_P | |
75ef19df RR |
790 | |
791 | /* The number of bytes in a long. */ | |
792 | #undef SIZEOF_LONG | |
793 | ||
794 | /* The number of bytes in a long long. */ | |
795 | #undef SIZEOF_LONG_LONG | |
796 | ||
797 | /* The number of bytes in a short. */ | |
798 | #undef SIZEOF_SHORT | |
799 | ||
a369f7c8 VZ |
800 | /* The number of bytes in a size_t. */ |
801 | #undef SIZEOF_SIZE_T | |
802 | ||
d836ee96 VZ |
803 | /* Define if size_t on your machine is the same type as unsigned int. */ |
804 | #undef wxSIZE_T_IS_UINT | |
805 | ||
806 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
807 | #undef wxSIZE_T_IS_ULONG | |
808 | ||
75ef19df RR |
809 | /* Define if you have the dlopen function. */ |
810 | #undef HAVE_DLOPEN | |
811 | ||
f6bcfd97 BP |
812 | /* Define if you have the dlerror function. */ |
813 | #undef HAVE_DLERROR | |
814 | ||
4f3c5f06 VZ |
815 | /* Define if you have Posix fnctl() function. */ |
816 | #undef HAVE_FCNTL | |
817 | ||
818 | /* Define if you have BSD flock() function. */ | |
819 | #undef HAVE_FLOCK | |
820 | ||
75ef19df RR |
821 | /* Define if you have the gethostname function. */ |
822 | #undef HAVE_GETHOSTNAME | |
823 | ||
824 | /* Define if you have the inet_addr function. */ | |
825 | #undef HAVE_INET_ADDR | |
826 | ||
827 | /* Define if you have the inet_aton function. */ | |
828 | #undef HAVE_INET_ATON | |
829 | ||
ade35f11 VZ |
830 | /* Define if you have the mktemp function. */ |
831 | #undef HAVE_MKTEMP | |
832 | ||
833 | /* Define if you have the mkstemp function. */ | |
834 | #undef HAVE_MKSTEMP | |
835 | ||
75ef19df RR |
836 | /* Define if you have the nanosleep function. */ |
837 | #undef HAVE_NANOSLEEP | |
838 | ||
8fd0d89b VZ |
839 | /* Define if you have the putenv function. */ |
840 | #undef HAVE_PUTENV | |
841 | ||
842 | /* Define if you have the setenv function. */ | |
843 | #undef HAVE_SETENV | |
844 | ||
75ef19df RR |
845 | /* Define if you have the shl_load function. */ |
846 | #undef HAVE_SHL_LOAD | |
847 | ||
e90c1d2a VZ |
848 | /* Define if you have strtok_r function. */ |
849 | #undef HAVE_STRTOK_R | |
850 | ||
9ec64fa7 | 851 | /* Define if you have thr_setconcurrency function */ |
eb4efbdc | 852 | #undef HAVE_THR_SETCONCURRENCY |
9ec64fa7 | 853 | |
75ef19df RR |
854 | /* Define if you have the uname function. */ |
855 | #undef HAVE_UNAME | |
856 | ||
857 | /* Define if you have the usleep function. */ | |
858 | #undef HAVE_USLEEP | |
859 | ||
75ef19df RR |
860 | /* Define if you have the <X11/XKBlib.h> header file. */ |
861 | #undef HAVE_X11_XKBLIB_H | |
862 | ||
505c8ccd VS |
863 | /* Define if you have the <X11/extensions/xf86vmode.h> header file. */ |
864 | #undef HAVE_X11_EXTENSIONS_XF86VMODE_H | |
865 | ||
f530f862 VZ |
866 | /* Define if you have the fnmatch() function */ |
867 | #undef HAVE_FNMATCH | |
868 | ||
75ef19df RR |
869 | /* Define if you have the <fnmatch.h> header file. */ |
870 | #undef HAVE_FNMATCH_H | |
871 | ||
872 | /* Define if you have the <iostream> header file. */ | |
873 | #undef HAVE_IOSTREAM | |
874 | ||
875 | /* Define if you have the <linux/joystick.h> header file. */ | |
876 | #undef HAVE_LINUX_JOYSTICK_H | |
877 | ||
878 | /* Define if you have the <sched.h> header file. */ | |
879 | #undef HAVE_SCHED_H | |
880 | ||
75ef19df RR |
881 | /* Define if you have the <unistd.h> header file. */ |
882 | #undef HAVE_UNISTD_H | |
883 | ||
0fb0dd83 RR |
884 | /* Define if you have the <fcntl.h> header file. */ |
885 | #undef HAVE_FCNTL_H | |
886 | ||
75ef19df RR |
887 | /* Define if you have the <wchar.h> header file. */ |
888 | #undef HAVE_WCHAR_H | |
889 | ||
890 | /* Define if you have the <wcstr.h> header file. */ | |
891 | #undef HAVE_WCSTR_H | |
892 | ||
0fbb762e MB |
893 | /* Define if you have the <wctype.h> header file. */ |
894 | #undef HAVE_WCTYPE_H | |
895 | ||
b040e242 VS |
896 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ |
897 | #undef HAVE_ICONV | |
6f72b082 | 898 | |
b040e242 VS |
899 | /* Define as "const" if the declaration of iconv() needs const. */ |
900 | #undef ICONV_CONST | |
29f45f85 | 901 | |
6f72b082 OK |
902 | /* Define if you have the <langinfo.h> header file. */ |
903 | #undef HAVE_LANGINFO_H | |
904 | ||
d4158b5d VS |
905 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ |
906 | #undef HAVE_W32API_H | |
907 | ||
38d85c64 VS |
908 | /* Define if you have the <esd.h> header file. */ |
909 | #undef HAVE_ESD_H | |
910 | ||
f93ca9fd VS |
911 | /* Define if you have the <sys/soundcard.h> header file. */ |
912 | #undef HAVE_SYS_SOUNDCARD_H | |
913 | ||
d19d1899 MB |
914 | /* Define if you have a CD-ROM interface known to mmedia. */ |
915 | #undef HAVE_KNOWN_CDROM_INTERFACE | |
916 | ||
b3e8d00a VZ |
917 | /* Define if you have wcsrtombs() function */ |
918 | #undef HAVE_WCSRTOMBS | |
919 | ||
fbe47c7b VS |
920 | /* Define this if you have wputc() */ |
921 | #undef HAVE_WPUTC | |
922 | ||
923 | /* Define this if you have wputchar() */ | |
924 | #undef HAVE_WPUTCHAR | |
925 | ||
926 | /* Define this if you have putws() */ | |
927 | #undef HAVE_PUTWS | |
928 | ||
929 | /* Define this if you have fputws() */ | |
930 | #undef HAVE_FPUTWS | |
d74f4b5a | 931 | |
1c2d1459 VZ |
932 | /* Define this if you have strcasecmp() function in <string.h> */ |
933 | #undef HAVE_STRCASECMP_IN_STRING_H | |
934 | ||
935 | /* Define this if you have strcasecmp() function in <strings.h> */ | |
936 | #undef HAVE_STRCASECMP_IN_STRINGS_H | |
937 | ||
d74f4b5a VZ |
938 | /* Define this if you have wprintf() and related functions */ |
939 | #undef HAVE_WPRINTF | |
940 | ||
5c6fa7d2 RR |
941 | /* Define this if you have wprintf() and related functions */ |
942 | #undef HAVE_VSWPRINTF | |
943 | ||
79668cae MB |
944 | /* Define this if you have _vsnwprintf */ |
945 | #undef HAVE__VSNWPRINTF | |
946 | ||
70a7bd90 VZ |
947 | /* Define if fseeko and ftello are available. */ |
948 | #undef HAVE_FSEEKO | |
949 | ||
7799a2d7 | 950 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ |
d84b26a7 | 951 | #undef HAVE_XIM |
7799a2d7 | 952 | |
0ed330b4 | 953 | /* Define this if you have X11/extensions/shape.h */ |
f7f78039 | 954 | #undef HAVE_XSHAPE |
3a922bb4 | 955 | |
0ed330b4 SN |
956 | /* Define this if you have type SPBCDATA */ |
957 | #undef HAVE_SPBCDATA | |
958 | ||
304205f1 VS |
959 | /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */ |
960 | #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE | |
961 | ||
4ae1af05 MB |
962 | /* Define if you have Pango xft support */ |
963 | #undef HAVE_PANGO_XFT | |
964 | ||
1d65a68f VZ |
965 | /* ------------------------------------------------------------------------- |
966 | Win32 adjustments section | |
967 | ------------------------------------------------------------------------- */ | |
968 | ||
969 | #ifdef __WIN32__ | |
970 | ||
971 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility | |
972 | with wx/msw/setup.h */ | |
973 | #define wxUSE_XPM_IN_MSW wxUSE_XPM | |
974 | ||
975 | #endif /* __WIN32__ */ | |
976 | ||
3a922bb4 RL |
977 | /* --------------------------------------------------------* |
978 | * This stuff is static, it doesn't get modified directly | |
979 | * by configure. | |
980 | */ | |
981 | ||
982 | #include "wx/chkconf.h" | |
983 | ||
984 | /* | |
985 | define some constants identifying wxWindows version in more details than | |
986 | just the version number | |
987 | */ | |
988 | ||
989 | /* wxLogChain class available */ | |
990 | #define wxHAS_LOG_CHAIN | |
991 | ||
992 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
993 | #undef wxHAS_WORKING_GTK_DC_BLIT | |
994 | ||
995 | ||
75ef19df | 996 | #endif /* __WX_SETUP_H__ */ |
3a922bb4 | 997 |