]>
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 | ||
42 | /* Define if you have the ANSI C header files. */ | |
43 | #undef STDC_HEADERS | |
44 | ||
5c0a20c3 VZ |
45 | /* Define this to get extra features from GNU libc. */ |
46 | #undef _GNU_SOURCE | |
47 | ||
75ef19df RR |
48 | /* Define to `int' if <sys/types.h> doesn't define. */ |
49 | #undef uid_t | |
50 | ||
51 | /* Define if your processor stores words with the most significant | |
52 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ | |
53 | #undef WORDS_BIGENDIAN | |
54 | ||
13111b2a | 55 | /* Define this if your version of GTK+ is greater than 1.2 */ |
75ef19df RR |
56 | #undef __WXGTK12__ |
57 | ||
f6bcfd97 BP |
58 | /* Define this if your version of GTK+ is greater than 1.2.7 */ |
59 | #undef __WXGTK127__ | |
60 | ||
13111b2a | 61 | /* Define this if your version of GTK+ is greater than 1.3 */ |
6f72b082 | 62 | #undef __WXGTK20__ |
13111b2a | 63 | |
da494b40 MB |
64 | /* Define this if your version of Motif is greater than 2.0 */ |
65 | #undef __WXMOTIF20__ | |
66 | ||
75ef19df RR |
67 | /* |
68 | * Define to 1 for Unix[-like] system | |
69 | */ | |
70 | #define wxUSE_UNIX 0 | |
71 | ||
72 | #undef __UNIX__ | |
73 | #undef __LINUX__ | |
74 | #undef __SGI__ | |
75 | #undef __HPUX__ | |
76 | #undef __SYSV__ | |
77 | #undef __SVR4__ | |
78 | #undef __AIX__ | |
79 | #undef __SUN__ | |
80 | #undef __SOLARIS__ | |
81 | #undef __SUNOS__ | |
82 | #undef __ALPHA__ | |
7cf43d5e | 83 | #undef __IA64__ |
75ef19df RR |
84 | #undef __OSF__ |
85 | #undef __BSD__ | |
86 | #undef __FREEBSD__ | |
8eee0251 | 87 | #undef __DARWIN__ |
f6bcfd97 | 88 | #undef __NETBSD__ |
2b5f62a0 | 89 | #undef __OPENBSD__ |
75ef19df RR |
90 | #undef __VMS__ |
91 | #undef __ULTRIX__ | |
92 | #undef __DATA_GENERAL__ | |
93 | #undef __EMX__ | |
75ef19df | 94 | |
c79a329d JS |
95 | /* NanoX (with wxX11) */ |
96 | #define wxUSE_NANOX 0 | |
97 | ||
8eee0251 GD |
98 | /* PowerPC Darwin & Mac OS X */ |
99 | #undef __POWERPC__ | |
82d43113 | 100 | #undef TARGET_CARBON |
8eee0251 | 101 | |
f9bc1684 VS |
102 | /* MS-DOS with DJGPP */ |
103 | #undef __DOS__ | |
104 | ||
80d895cd HH |
105 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ |
106 | #ifndef __WINDOWS__ | |
75ef19df | 107 | #undef __WINDOWS__ |
80d895cd HH |
108 | #endif |
109 | ||
ab82ab07 | 110 | #ifndef __WIN95__ |
75ef19df | 111 | #undef __WIN95__ |
ab82ab07 | 112 | #endif |
0e448231 | 113 | #ifndef __WIN32__ |
75ef19df | 114 | #undef __WIN32__ |
0e448231 | 115 | #endif |
ab82ab07 | 116 | #ifndef __GNUWIN32__ |
75ef19df | 117 | #undef __GNUWIN32__ |
ab82ab07 MB |
118 | #endif |
119 | #ifndef STRICT | |
1db46618 | 120 | #undef STRICT |
ab82ab07 MB |
121 | #endif |
122 | #ifndef WINVER | |
75ef19df | 123 | #undef WINVER |
ab82ab07 | 124 | #endif |
75ef19df | 125 | |
7c0ea335 | 126 | /* enable native status bar under Win32 */ |
8754feb8 | 127 | #if defined(__WIN95__) && !defined(__WXUNIVERSAL__) |
7c0ea335 | 128 | #define wxUSE_NATIVE_STATUSBAR 1 |
8754feb8 | 129 | #define wxUSE_OWNER_DRAWN 1 |
7c0ea335 VZ |
130 | #endif |
131 | ||
7ee20d36 SN |
132 | #if defined(__WXPM__) |
133 | #define wxUSE_OWNER_DRAWN 1 | |
134 | #endif | |
135 | ||
e959aee2 VZ |
136 | /* enable rich edit under Win32 */ |
137 | #if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__) | |
138 | #define wxUSE_RICHEDIT 1 | |
139 | #else | |
140 | #define wxUSE_RICHEDIT 0 | |
141 | #endif | |
142 | ||
75ef19df RR |
143 | /* |
144 | * Supports bool type | |
145 | */ | |
146 | #undef HAVE_BOOL | |
147 | ||
986ecc86 VZ |
148 | /* |
149 | * Define if your compiler supports the explicit keyword | |
150 | */ | |
151 | #undef HAVE_EXPLICIT | |
152 | ||
521196a2 MB |
153 | /* |
154 | * Define if your compiler supports const_cast<>() | |
155 | */ | |
156 | #undef HAVE_CONST_CAST | |
157 | ||
3e44f09d VZ |
158 | /* |
159 | * Use regex support | |
160 | */ | |
161 | #define wxUSE_REGEX 0 | |
75ef19df RR |
162 | /* |
163 | * Use zlib | |
164 | */ | |
165 | #define wxUSE_ZLIB 0 | |
166 | /* | |
167 | * Use libpng | |
168 | */ | |
169 | #define wxUSE_LIBPNG 0 | |
170 | /* | |
171 | * Use libjpeg | |
172 | */ | |
173 | #define wxUSE_LIBJPEG 0 | |
1c8d8d21 RR |
174 | /* |
175 | * Use libtiff | |
176 | */ | |
177 | #define wxUSE_LIBTIFF 0 | |
75ef19df RR |
178 | /* |
179 | * Use iODBC | |
180 | */ | |
181 | #define wxUSE_ODBC 0 | |
fb073f86 | 182 | #define wxODBC_FWD_ONLY_CURSORS 1 |
f6bcfd97 | 183 | #define wxODBC_BACKWARD_COMPATABILITY 0 |
3fed1840 RR |
184 | /* |
185 | * Use freetype | |
186 | */ | |
187 | #define wxUSE_FREETYPE 0 | |
75ef19df RR |
188 | /* |
189 | * Use Threads | |
190 | */ | |
191 | #define wxUSE_THREADS 0 | |
192 | /* | |
193 | * Have glibc2 | |
194 | */ | |
195 | #define wxHAVE_GLIBC2 0 | |
196 | /* | |
197 | * Use libXpm | |
198 | */ | |
199 | #define wxHAVE_LIB_XPM 0 | |
200 | /* | |
201 | * Use OpenGL | |
202 | */ | |
203 | #define wxUSE_OPENGL 0 | |
bdad4e7e | 204 | #define wxUSE_GLCANVAS 0 |
75ef19df RR |
205 | |
206 | /* | |
207 | * Use GUI | |
208 | */ | |
e90c1d2a | 209 | #define wxUSE_GUI 0 |
75ef19df | 210 | /* |
e90c1d2a | 211 | * Don't use GUI (defined to 1 when compiling/using base only) |
75ef19df | 212 | */ |
e90c1d2a | 213 | #define wxUSE_NOGUI 0 |
75ef19df | 214 | |
eb4efbdc VZ |
215 | /* |
216 | * Catch fatal program exceptions | |
217 | */ | |
218 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
219 | ||
4f3c5f06 VZ |
220 | /* |
221 | * Use wxSingleInstanceChecker class | |
222 | */ | |
223 | #define wxUSE_SNGLINST_CHECKER 0 | |
224 | ||
75ef19df RR |
225 | /* |
226 | * Use constraints mechanism | |
227 | */ | |
228 | #define wxUSE_CONSTRAINTS 0 | |
229 | ||
230 | /* | |
231 | * Use validators | |
232 | */ | |
233 | #define wxUSE_VALIDATORS 0 | |
234 | ||
1e6feb95 VZ |
235 | /* |
236 | * Use wxControl | |
237 | */ | |
238 | #define wxUSE_CONTROLS 0 | |
239 | ||
240 | /* | |
241 | Use wxPopupWindow (useful in wxUniv only for now) | |
242 | */ | |
243 | #define wxUSE_POPUPWIN 0 | |
244 | ||
0b01706f VZ |
245 | /* |
246 | Use wxTipWindow | |
247 | */ | |
248 | #define wxUSE_TIPWINDOW 0 | |
249 | ||
75ef19df RR |
250 | /* |
251 | * Use accelerators | |
252 | */ | |
253 | #define wxUSE_ACCEL 0 | |
254 | ||
1e6feb95 VZ |
255 | /* |
256 | * Use wxCalendarCtrl | |
257 | */ | |
258 | #define wxUSE_CALENDARCTRL 0 | |
259 | ||
260 | /* | |
261 | * Use wxFileDialog | |
262 | */ | |
263 | #define wxUSE_FILEDLG 0 | |
264 | ||
8db37e06 VZ |
265 | /* |
266 | * Use wxFindReplaceDialog | |
267 | */ | |
268 | #define wxUSE_FINDREPLDLG 0 | |
269 | ||
1e6feb95 VZ |
270 | /* |
271 | * Use wxFontDialog | |
272 | */ | |
273 | #define wxUSE_FONTDLG 0 | |
274 | ||
275 | /* | |
276 | * Use wxMimeTypesManager and related classes | |
277 | */ | |
278 | #define wxUSE_MIMETYPE 0 | |
279 | ||
04eb894b GD |
280 | /* |
281 | * Use wxSystemOptions | |
282 | */ | |
283 | #define wxUSE_SYSTEM_OPTIONS 0 | |
284 | ||
1e6feb95 VZ |
285 | /* |
286 | * Use wxMessageDialog (and wxMessageBox) | |
287 | */ | |
288 | #define wxUSE_MSGDLG 0 | |
289 | ||
290 | /* | |
291 | * Use wxNumberEntryDialog | |
292 | */ | |
293 | #define wxUSE_NUMBERDLG 0 | |
294 | ||
75ef19df RR |
295 | /* |
296 | * Use wxTextEntryDialog | |
297 | */ | |
298 | #define wxUSE_TEXTDLG 0 | |
299 | ||
300 | /* | |
301 | * Use startup tips | |
302 | */ | |
303 | #define wxUSE_STARTUP_TIPS 0 | |
304 | ||
305 | /* | |
306 | * Use progress dialog | |
307 | */ | |
308 | #define wxUSE_PROGRESSDLG 0 | |
309 | ||
1e6feb95 VZ |
310 | /* |
311 | * Use chooser dialog | |
312 | */ | |
313 | #define wxUSE_CHOICEDLG 0 | |
314 | ||
315 | /* | |
316 | * Use colour picker dialog | |
317 | */ | |
318 | #define wxUSE_COLOURDLG 0 | |
319 | ||
75ef19df RR |
320 | /* |
321 | * Use directory chooser dialog | |
322 | */ | |
323 | #define wxUSE_DIRDLG 0 | |
324 | ||
24fd6d87 VZ |
325 | /* |
326 | * Use wxDragImage class | |
327 | */ | |
328 | #define wxUSE_DRAGIMAGE 0 | |
329 | ||
1e6feb95 VZ |
330 | /* |
331 | * Use property sheet classes | |
332 | */ | |
333 | #define wxUSE_PROPSHEET 0 | |
334 | ||
335 | /* | |
336 | * Use wxWizard | |
337 | */ | |
338 | #define wxUSE_WIZARDDLG 0 | |
339 | ||
340 | /* | |
341 | * Use splash screen | |
342 | */ | |
343 | #define wxUSE_SPLASH 0 | |
344 | ||
75ef19df RR |
345 | /* |
346 | * Joystick support (Linux/GTK only) | |
347 | */ | |
348 | #define wxUSE_JOYSTICK 0 | |
349 | ||
1e6feb95 VZ |
350 | /* |
351 | * Use this control | |
352 | */ | |
353 | #define wxUSE_BUTTON 0 | |
75ef19df RR |
354 | /* |
355 | * Use this control | |
356 | */ | |
357 | #define wxUSE_CARET 0 | |
358 | /* | |
359 | * Use this control | |
360 | */ | |
361 | #define wxUSE_BMPBUTTON 0 | |
362 | /* | |
363 | * Use this control | |
364 | */ | |
365 | #define wxUSE_CHECKBOX 0 | |
366 | /* | |
367 | * Use this control | |
368 | */ | |
369 | #define wxUSE_CHECKLISTBOX 0 | |
370 | /* | |
371 | * Use this control | |
372 | */ | |
373 | #define wxUSE_COMBOBOX 0 | |
374 | /* | |
375 | * Use this control | |
376 | */ | |
377 | #define wxUSE_CHOICE 0 | |
ddb4769e VZ |
378 | /* |
379 | * Use wxDisplay class | |
380 | */ | |
381 | #define wxUSE_DISPLAY 0 | |
75ef19df RR |
382 | /* |
383 | * Use this control | |
384 | */ | |
385 | #define wxUSE_GAUGE 0 | |
386 | /* | |
387 | * Use this control | |
388 | */ | |
389 | #define wxUSE_GRID 0 | |
390 | /* | |
ddb4769e VZ |
391 | * Use the new prototype wxGrid classes |
392 | * (wxUSE_GRID must also be defined) | |
75ef19df | 393 | */ |
f85afd4e MB |
394 | #define wxUSE_NEW_GRID 0 |
395 | /* | |
ddb4769e | 396 | * Use wxImageList class |
f85afd4e | 397 | */ |
75ef19df RR |
398 | #define wxUSE_IMAGLIST 0 |
399 | /* | |
400 | * Use this control | |
401 | */ | |
402 | #define wxUSE_LISTBOX 0 | |
403 | /* | |
404 | * Use this control | |
405 | */ | |
406 | #define wxUSE_LISTCTRL 0 | |
1e6feb95 VZ |
407 | /* |
408 | * Use wxMenuBar, wxMenuItem and wxMenu | |
409 | */ | |
410 | #define wxUSE_MENUS 0 | |
75ef19df RR |
411 | /* |
412 | * Use this control | |
413 | */ | |
414 | #define wxUSE_NOTEBOOK 0 | |
415 | /* | |
416 | * Use this control | |
417 | */ | |
418 | #define wxUSE_RADIOBOX 0 | |
419 | /* | |
420 | * Use this control | |
421 | */ | |
422 | #define wxUSE_RADIOBTN 0 | |
423 | /* | |
424 | * Use this control | |
425 | */ | |
426 | #define wxUSE_SASH 0 | |
427 | /* | |
428 | * Use this control | |
429 | */ | |
430 | #define wxUSE_SCROLLBAR 0 | |
431 | /* | |
432 | * Use this control | |
433 | */ | |
434 | #define wxUSE_SLIDER 0 | |
435 | /* | |
436 | * Use this control | |
437 | */ | |
438 | #define wxUSE_SPINBTN 0 | |
63081513 RR |
439 | /* |
440 | * Use this control | |
441 | */ | |
442 | #define wxUSE_SPINCTRL 0 | |
75ef19df RR |
443 | /* |
444 | * Use this control | |
445 | */ | |
446 | #define wxUSE_SPLITTER 0 | |
447 | /* | |
448 | * Use this control | |
449 | */ | |
450 | #define wxUSE_STATBMP 0 | |
451 | /* | |
452 | * Use this control | |
453 | */ | |
454 | #define wxUSE_STATBOX 0 | |
455 | /* | |
456 | * Use this control | |
457 | */ | |
458 | #define wxUSE_STATLINE 0 | |
459 | /* | |
460 | * Use this control | |
461 | */ | |
1e6feb95 VZ |
462 | #define wxUSE_STATTEXT 0 |
463 | /* | |
464 | * Use this control | |
465 | */ | |
466 | #define wxUSE_STATUSBAR 0 | |
1db8dc4a VZ |
467 | /* |
468 | * Use this control | |
469 | */ | |
470 | #define wxUSE_TOGGLEBTN 0 | |
75ef19df RR |
471 | /* |
472 | * Use Tab dialog class - obsolete, use wxNotebook instead | |
473 | */ | |
474 | #define wxUSE_TAB_DIALOG 0 | |
475 | /* compatibility */ | |
476 | #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG | |
b685cd9b | 477 | |
1e6feb95 VZ |
478 | /* |
479 | * Use wxTextCtrl | |
480 | */ | |
481 | #define wxUSE_TEXTCTRL 0 | |
482 | ||
b685cd9b | 483 | /* |
360d6699 | 484 | * Use wxToollBar |
b685cd9b | 485 | */ |
360d6699 | 486 | #define wxUSE_TOOLBAR 0 |
b685cd9b | 487 | |
75ef19df | 488 | /* |
360d6699 VZ |
489 | * If 1, use the native toolbar, otherwise use the generic version |
490 | * (wxToolBarSimple) which may also be use together with the native one. | |
75ef19df | 491 | */ |
360d6699 VZ |
492 | #define wxUSE_TOOLBAR_NATIVE 0 |
493 | ||
494 | /* | |
495 | * Use generic wxToolBar instead of/together with the native one? | |
496 | */ | |
497 | #define wxUSE_TOOLBAR_SIMPLE 0 | |
75ef19df | 498 | |
749aa5c1 | 499 | #if defined(__WXWINE__) || defined(__GNUWIN32__) || defined(__WXPM__) |
75ef19df RR |
500 | #if wxUSE_TOOLBAR |
501 | #define wxUSE_BUTTONBAR 1 | |
502 | #endif | |
503 | #endif | |
504 | ||
bfde68e4 GD |
505 | /* |
506 | * Use wxTreeLayout class | |
507 | */ | |
508 | #define wxUSE_TREELAYOUT 0 | |
509 | ||
75ef19df RR |
510 | /* |
511 | * Use this control | |
512 | */ | |
513 | #define wxUSE_TREECTRL 0 | |
514 | ||
515 | /* | |
516 | * Use wxLongLong (a.k.a. int64) class | |
517 | */ | |
518 | #define wxUSE_LONGLONG 0 | |
519 | ||
44f889cb RR |
520 | /* |
521 | * Use geometry classes | |
522 | */ | |
523 | #define wxUSE_GEOMETRY 0 | |
524 | ||
1e6feb95 VZ |
525 | /* |
526 | * Use wxCmdLineParser class | |
527 | */ | |
528 | #define wxUSE_CMDLINE_PARSER 0 | |
529 | /* | |
530 | * Use wxDateTime | |
531 | */ | |
532 | #define wxUSE_DATETIME 0 | |
75ef19df RR |
533 | /* |
534 | * Use wxFile class | |
535 | */ | |
536 | #define wxUSE_FILE 0 | |
1e6feb95 VZ |
537 | /* |
538 | * Use wxFFile class | |
539 | */ | |
540 | #define wxUSE_FFILE 0 | |
05815ab3 VZ |
541 | /* |
542 | * Use wxFSVolume class | |
543 | */ | |
544 | #define wxUSE_FSVOLUME 1 | |
545 | ||
a3a584a7 VZ |
546 | /* |
547 | * Use wxTextBuffer class | |
548 | */ | |
549 | #define wxUSE_TEXTBUFFER 0 | |
75ef19df RR |
550 | /* |
551 | * Use wxTextFile class | |
552 | */ | |
553 | #define wxUSE_TEXTFILE 0 | |
44f889cb | 554 | |
75ef19df RR |
555 | /* |
556 | * Use log classes and logging functions | |
557 | */ | |
558 | #define wxUSE_LOG 0 | |
1e6feb95 VZ |
559 | /* |
560 | * Use log window | |
561 | */ | |
562 | #define wxUSE_LOGWINDOW 0 | |
563 | /* | |
564 | * Use standard GUI logger | |
565 | */ | |
566 | #define wxUSE_LOGGUI 0 | |
dcb99cd3 VZ |
567 | /* |
568 | * Use old log dialog instead of new wxLogGui | |
569 | */ | |
69d27ff7 | 570 | #define wxUSE_LOG_DIALOG 0 |
1e6feb95 VZ |
571 | /* |
572 | * Use wxStopWatch | |
573 | */ | |
574 | #define wxUSE_STOPWATCH 0 | |
75ef19df RR |
575 | /* |
576 | * Use time and date classes | |
577 | */ | |
578 | #define wxUSE_TIMEDATE 0 | |
579 | /* | |
580 | * Use wave class | |
581 | */ | |
582 | #define wxUSE_WAVE 0 | |
583 | /* | |
584 | * Use config system | |
585 | */ | |
586 | #define wxUSE_CONFIG 0 | |
1e6feb95 VZ |
587 | /* |
588 | * Use font mapping/conversion classes | |
589 | */ | |
590 | #define wxUSE_FONTMAP 0 | |
75ef19df RR |
591 | /* |
592 | * Use intl system | |
593 | */ | |
594 | #define wxUSE_INTL 0 | |
a5d46b73 VZ |
595 | /* |
596 | * Use wxProtocol and related classes | |
597 | */ | |
598 | #define wxUSE_PROTOCOL 0 | |
599 | #define wxUSE_PROTOCOL_FILE 0 | |
600 | #define wxUSE_PROTOCOL_FTP 0 | |
601 | #define wxUSE_PROTOCOL_HTTP 0 | |
75ef19df RR |
602 | /* |
603 | * Use streams | |
604 | */ | |
605 | #define wxUSE_STREAMS 0 | |
75ef19df RR |
606 | /* |
607 | * Use sockets | |
608 | */ | |
609 | #define wxUSE_SOCKETS 0 | |
1c8515f9 KB |
610 | /* |
611 | * Use dialup manager | |
612 | */ | |
613 | #define wxUSE_DIALUP_MANAGER 0 | |
75ef19df RR |
614 | /* |
615 | * Use standard C++ streams if 1. If 0, use wxWin | |
616 | * streams implementation. | |
617 | */ | |
618 | #define wxUSE_STD_IOSTREAM 0 | |
619 | /* | |
620 | * wxLibrary class | |
621 | */ | |
622 | #define wxUSE_DYNLIB_CLASS 0 | |
0b9ab0bd RL |
623 | /* |
624 | * Use wxObjectLoader | |
625 | */ | |
626 | #define wxUSE_DYNAMIC_LOADER 0 | |
75ef19df | 627 | |
1e6feb95 VZ |
628 | /* |
629 | * Use wxTimer | |
630 | */ | |
631 | #define wxUSE_TIMER 0 | |
632 | ||
75ef19df RR |
633 | /* |
634 | * Use font metric files in GetTextExtent for wxPostScriptDC | |
635 | * Use consistent PostScript fonts for AFM and printing (!) | |
636 | */ | |
637 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 | |
638 | #define wxUSE_NORMALIZED_PS_FONTS 0 | |
639 | ||
640 | /* compatibility */ | |
641 | #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS | |
642 | ||
643 | /* | |
644 | * Use PostScript device context | |
645 | */ | |
646 | #define wxUSE_POSTSCRIPT 0 | |
647 | ||
648 | /* | |
f6bcfd97 | 649 | * Compile wxString with some Unicode (wide character) support? |
e90c1d2a VZ |
650 | */ |
651 | #define wxUSE_WCHAR_T 0 | |
652 | ||
653 | /* | |
f6bcfd97 | 654 | * Compile wxWindows in Unicode mode (Win32 only for now)? |
75ef19df RR |
655 | */ |
656 | #define wxUSE_UNICODE 0 | |
657 | ||
db3272a0 VS |
658 | /* |
659 | * Use MS Layer for Unicode on Win9X (Win32 only)? | |
660 | */ | |
661 | #define wxUSE_UNICODE_MSLU 0 | |
662 | ||
a5d46b73 VZ |
663 | /* |
664 | * Use wxURL class | |
665 | */ | |
666 | #define wxUSE_URL 0 | |
667 | ||
75ef19df RR |
668 | /* |
669 | * Work around a bug in GNU libc 5.x wcstombs() implementation. | |
670 | * | |
671 | * Note that you must link your programs with libc.a if you enable this and you | |
672 | * have libc 5 (you should enable this for libc6 where wcsrtombs() is | |
673 | * thread-safe version of wcstombs()). | |
674 | */ | |
675 | #define wxUSE_WCSRTOMBS 0 | |
676 | ||
75ef19df RR |
677 | /* |
678 | * Use the new experimental implementation of wxString::Printf()? | |
679 | * | |
680 | * Warning: enabling this may cause internal compiler errors with gcc! | |
681 | */ | |
682 | #define wxUSE_EXPERIMENTAL_PRINTF 0 | |
683 | ||
684 | /* | |
685 | * Use Interprocess communication | |
686 | */ | |
687 | #define wxUSE_IPC 0 | |
688 | /* | |
689 | * Use wxGetResource & wxWriteResource (change .Xdefaults) | |
690 | */ | |
691 | #define wxUSE_X_RESOURCES 0 | |
692 | /* | |
693 | * Use clipboard | |
694 | */ | |
695 | #define wxUSE_CLIPBOARD 0 | |
1e6feb95 VZ |
696 | /* |
697 | * Use wxDataObject | |
698 | */ | |
699 | #define wxUSE_DATAOBJ 0 | |
75ef19df RR |
700 | /* |
701 | * Use tooltips | |
702 | */ | |
703 | #define wxUSE_TOOLTIPS 0 | |
704 | /* | |
705 | * Use dnd | |
706 | */ | |
707 | #define wxUSE_DRAG_AND_DROP 0 | |
9165395f VS |
708 | /* |
709 | * Use OLE (MSW only) | |
710 | */ | |
711 | #define wxUSE_OLE 0 | |
75ef19df RR |
712 | /* |
713 | * Use spline | |
714 | */ | |
715 | #define wxUSE_SPLINES 0 | |
75ef19df RR |
716 | |
717 | /* | |
718 | * Use the mdi architecture | |
719 | */ | |
720 | #define wxUSE_MDI_ARCHITECTURE 0 | |
721 | /* | |
722 | * Use the document/view architecture | |
723 | */ | |
724 | #define wxUSE_DOC_VIEW_ARCHITECTURE 0 | |
725 | /* | |
726 | * Use the print/preview architecture | |
727 | */ | |
728 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
729 | ||
730 | /* | |
731 | * Use Prolog IO | |
732 | */ | |
733 | #define wxUSE_PROLOGIO 0 | |
734 | /* | |
735 | * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1) | |
736 | */ | |
737 | #define wxUSE_RESOURCES 0 | |
738 | ||
739 | /* for compatibility */ | |
740 | #define wxUSE_WX_RESOURCES wxUSE_RESOURCES | |
741 | ||
742 | /* | |
3379ed37 | 743 | * Use wxWindows help facility |
75ef19df RR |
744 | */ |
745 | #define wxUSE_HELP 0 | |
3379ed37 VZ |
746 | /* |
747 | * Use built-in HTML-based help controller | |
748 | */ | |
749 | #define wxUSE_WXHTML_HELP 0 | |
29fd3c0c VS |
750 | /* |
751 | * Use MS HTML Help controller (win32) | |
752 | */ | |
753 | #define wxUSE_MS_HTML_HELP 0 | |
3379ed37 | 754 | |
75ef19df RR |
755 | /* |
756 | * Use iostream.h rather than iostream | |
757 | */ | |
758 | #define wxUSE_IOSTREAMH 0 | |
759 | /* | |
760 | * Use Apple Ieee-double converter | |
761 | */ | |
762 | #define wxUSE_APPLE_IEEE 0 | |
97c79de2 RR |
763 | /* |
764 | * Compatibility with 2.0 API. | |
765 | */ | |
54276ccf VZ |
766 | #define WXWIN_COMPATIBILITY_2 0 |
767 | /* | |
768 | * Compatibility with 2.2 API | |
769 | */ | |
770 | #define WXWIN_COMPATIBILITY_2_2 0 | |
134ecc85 VZ |
771 | /* |
772 | * Compatibility with 2.4 API | |
773 | */ | |
774 | #define WXWIN_COMPATIBILITY_2_4 0 | |
75ef19df RR |
775 | /* |
776 | * Enables debugging: memory tracing, assert, etc., contains debug level | |
777 | */ | |
778 | #define WXDEBUG 0 | |
779 | /* | |
780 | * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) | |
781 | * WARNING: this code may not work with all architectures, especially | |
782 | * if alignment is an issue. | |
783 | */ | |
784 | #define wxUSE_MEMORY_TRACING 0 | |
785 | /* | |
786 | * Enable debugging version of global memory operators new and delete | |
787 | * Disable it, If this causes problems (e.g. link errors) | |
788 | */ | |
789 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
790 | /* | |
791 | * VZ: What does this one do? (FIXME) | |
792 | */ | |
793 | #define wxUSE_DEBUG_CONTEXT 0 | |
794 | /* | |
795 | * In debug mode, causes new to be defined to | |
796 | * be WXDEBUG_NEW (see object.h). If this causes | |
797 | * problems (e.g. link errors), set this to 0. | |
798 | */ | |
799 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
800 | /* | |
801 | * Matthews garbage collection (used for MrEd?) | |
802 | */ | |
803 | #define WXGARBAGE_COLLECTION_ON 0 | |
804 | /* | |
805 | * Use splines | |
806 | */ | |
807 | #define wxUSE_SPLINES 0 | |
808 | /* | |
809 | * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port | |
810 | */ | |
811 | #define wxUSE_DYNAMIC_CLASSES 1 | |
812 | ||
813 | /* | |
814 | * Support for metafiles | |
815 | */ | |
816 | #define wxUSE_METAFILE 0 | |
b64f0a5f | 817 | #define wxUSE_ENH_METAFILE 0 |
75ef19df RR |
818 | |
819 | /* | |
820 | * wxMiniFrame | |
821 | */ | |
822 | #define wxUSE_MINIFRAME 0 | |
823 | ||
824 | /* | |
825 | * wxHTML | |
826 | */ | |
827 | #define wxUSE_HTML 0 | |
828 | ||
829 | /* | |
830 | * (virtual) filesystems code | |
831 | */ | |
24528b0c | 832 | #define wxUSE_FILESYSTEM 0 |
75ef19df RR |
833 | #define wxUSE_FS_INET 0 |
834 | #define wxUSE_FS_ZIP 0 | |
835 | ||
836 | /* | |
837 | * A class that shows info window when app is busy | |
838 | * (works exactly like wxBusyCursor) | |
839 | */ | |
1db8dc4a | 840 | #define wxUSE_BUSYINFO 0 |
75ef19df RR |
841 | |
842 | /* | |
843 | * Zip stream for accessing files stored inside .zip archives | |
844 | */ | |
845 | #define wxUSE_ZIPSTREAM 0 | |
846 | ||
d275c7eb VZ |
847 | /* |
848 | * wxPalette class | |
849 | */ | |
850 | #define wxUSE_PALETTE 0 | |
851 | ||
0046ff7c VS |
852 | /* |
853 | * wxImage support | |
854 | */ | |
855 | #define wxUSE_IMAGE 0 | |
856 | ||
0940bcf7 HH |
857 | /* |
858 | * GIF image format support | |
859 | */ | |
860 | #define wxUSE_GIF 0 | |
861 | ||
862 | /* | |
863 | * PCX image format support | |
864 | */ | |
865 | #define wxUSE_PCX 0 | |
866 | ||
4b6b4dfc RR |
867 | /* |
868 | * IFF image format support | |
869 | */ | |
870 | #define wxUSE_IFF 0 | |
871 | ||
0940bcf7 HH |
872 | /* |
873 | * PNM image format support | |
874 | */ | |
875 | #define wxUSE_PNM 0 | |
1db8dc4a | 876 | |
0046ff7c VS |
877 | /* |
878 | * XPM image format support | |
879 | */ | |
880 | #define wxUSE_XPM 0 | |
881 | ||
36e80997 | 882 | /* |
f9a03a02 | 883 | * MS ICO (and CUR,ANI derivatives) image format support (on any platform) |
36e80997 GD |
884 | */ |
885 | #define wxUSE_ICO_CUR 0 | |
886 | ||
75ef19df RR |
887 | /* |
888 | * Disable this if your compiler can't cope | |
889 | * with omission of prototype parameters. | |
890 | */ | |
891 | #define REMOVE_UNUSED_ARG 1 | |
892 | /* | |
893 | * The const keyword is being introduced more in wxWindows. | |
894 | * You can use this setting to maintain backward compatibility. | |
895 | * If 0: will use const wherever possible. | |
896 | * If 1: will use const only where necessary | |
897 | * for precompiled headers to work. | |
898 | * If 2: will be totally backward compatible, but precompiled | |
899 | * headers may not work and program size will be larger. | |
900 | */ | |
901 | #define CONST_COMPATIBILITY 0 | |
902 | ||
360d6699 VZ |
903 | /* define with the name of timezone variable */ |
904 | #undef WX_TIMEZONE | |
905 | ||
75ef19df RR |
906 | /* The type of 3rd argument to getsockname() - usually size_t or int */ |
907 | #undef SOCKLEN_T | |
908 | ||
54ab82b3 VZ |
909 | /* The type of statvfs(2) argument */ |
910 | #undef WX_STATFS_T | |
911 | ||
f6bcfd97 BP |
912 | /* The signal handler prototype */ |
913 | #undef wxTYPE_SA_HANDLER | |
914 | ||
afc31813 VZ |
915 | /* gettimeofday() usually takes 2 arguments, but some really old systems might |
916 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
917 | #undef WX_GETTIMEOFDAY_NO_TZ | |
918 | ||
0470b1e6 VZ |
919 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ |
920 | #undef WX_GMTOFF_IN_TM | |
921 | ||
2b5f62a0 VZ |
922 | /* Define if you have poll(2) function */ |
923 | #undef HAVE_POLL | |
924 | ||
bd3277fe VZ |
925 | /* Define if you have pw_gecos field in struct passwd */ |
926 | #undef HAVE_PW_GECOS | |
927 | ||
75ef19df RR |
928 | /* Define if you have dlopen() */ |
929 | #undef HAVE_DLOPEN | |
930 | ||
afc31813 VZ |
931 | /* Define if you have gettimeofday() */ |
932 | #undef HAVE_GETTIMEOFDAY | |
933 | ||
934 | /* Define if you have ftime() */ | |
935 | #undef HAVE_FTIME | |
936 | ||
90dd450c VZ |
937 | /* Define if you have support for large (64 bit size) files */ |
938 | #undef HAVE_LARGEFILE_SUPPORT | |
939 | ||
afc31813 VZ |
940 | /* Define if you have localtime() */ |
941 | #undef HAVE_LOCALTIME | |
942 | ||
75ef19df RR |
943 | /* Define if you have nanosleep() */ |
944 | #undef HAVE_NANOSLEEP | |
945 | ||
946 | /* Define if you have sched_yield */ | |
947 | #undef HAVE_SCHED_YIELD | |
948 | ||
d9b9876f VZ |
949 | /* Define if you have pthread_mutexattr_t and functions to work with it */ |
950 | #undef HAVE_PTHREAD_MUTEXATTR_T | |
951 | ||
952 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ | |
953 | #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER | |
954 | ||
75ef19df RR |
955 | /* Define if you have pthread_cancel */ |
956 | #undef HAVE_PTHREAD_CANCEL | |
957 | ||
eb4efbdc VZ |
958 | /* Define if you have sigaction() */ |
959 | #undef HAVE_SIGACTION | |
960 | ||
961 | /* Define if you have sigemptyset() */ | |
962 | #undef HAVE_SIGEMPTYSET | |
963 | ||
270a909e VZ |
964 | /* Define if you have shl_load() */ |
965 | #undef HAVE_SHL_LOAD | |
966 | ||
52e8b690 VZ |
967 | /* define if you have statfs function */ |
968 | #undef HAVE_STATFS | |
969 | ||
9952adac VZ |
970 | /* define if you have statvfs function */ |
971 | #undef HAVE_STATVFS | |
972 | ||
83307f33 VZ |
973 | /* Define if you have strptime() */ |
974 | #undef HAVE_STRPTIME | |
975 | ||
75ef19df RR |
976 | /* Define if you have all functions to set thread priority */ |
977 | #undef HAVE_THREAD_PRIORITY_FUNCTIONS | |
978 | ||
979 | /* Define if you can specify exit functions to a thread */ | |
980 | #undef HAVE_THREAD_CLEANUP_FUNCTIONS | |
981 | ||
270a909e VZ |
982 | /* Define if you have timegm() function */ |
983 | #undef HAVE_TIMEGM | |
75ef19df RR |
984 | |
985 | /* Define if you have vsnprintf() */ | |
986 | #undef HAVE_VSNPRINTF | |
987 | ||
ec0d6da3 VZ |
988 | /* Define if you have vsnprintf() declaration in the header */ |
989 | #undef HAVE_VSNPRINTF_DECL | |
990 | ||
75ef19df RR |
991 | /* Define if you have usleep() */ |
992 | #undef HAVE_USLEEP | |
993 | ||
994 | /* Define if you have wcslen function */ | |
995 | #undef HAVE_WCSLEN | |
996 | ||
997 | /* define if you have vsscanf function */ | |
998 | #undef HAVE_VSSCANF | |
999 | ||
1000 | /* The number of bytes in a char. */ | |
1001 | #undef SIZEOF_CHAR | |
1002 | ||
6f72b082 OK |
1003 | /* The number of bytes in a wchar_t. */ |
1004 | #undef SIZEOF_WCHAR_T | |
1005 | ||
75ef19df RR |
1006 | /* The number of bytes in a int. */ |
1007 | #undef SIZEOF_INT | |
1008 | ||
1009 | /* The number of bytes in a int *. */ | |
1010 | #undef SIZEOF_INT_P | |
1011 | ||
1012 | /* The number of bytes in a long. */ | |
1013 | #undef SIZEOF_LONG | |
1014 | ||
1015 | /* The number of bytes in a long long. */ | |
1016 | #undef SIZEOF_LONG_LONG | |
1017 | ||
1018 | /* The number of bytes in a short. */ | |
1019 | #undef SIZEOF_SHORT | |
1020 | ||
d836ee96 VZ |
1021 | /* Define if size_t on your machine is the same type as unsigned int. */ |
1022 | #undef wxSIZE_T_IS_UINT | |
1023 | ||
1024 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
1025 | #undef wxSIZE_T_IS_ULONG | |
1026 | ||
75ef19df RR |
1027 | /* Define if you have the dlopen function. */ |
1028 | #undef HAVE_DLOPEN | |
1029 | ||
f6bcfd97 BP |
1030 | /* Define if you have the dlerror function. */ |
1031 | #undef HAVE_DLERROR | |
1032 | ||
4f3c5f06 VZ |
1033 | /* Define if you have Posix fnctl() function. */ |
1034 | #undef HAVE_FCNTL | |
1035 | ||
1036 | /* Define if you have BSD flock() function. */ | |
1037 | #undef HAVE_FLOCK | |
1038 | ||
75ef19df RR |
1039 | /* Define if you have the gethostname function. */ |
1040 | #undef HAVE_GETHOSTNAME | |
1041 | ||
1042 | /* Define if you have the inet_addr function. */ | |
1043 | #undef HAVE_INET_ADDR | |
1044 | ||
1045 | /* Define if you have the inet_aton function. */ | |
1046 | #undef HAVE_INET_ATON | |
1047 | ||
ade35f11 VZ |
1048 | /* Define if you have the mktemp function. */ |
1049 | #undef HAVE_MKTEMP | |
1050 | ||
1051 | /* Define if you have the mkstemp function. */ | |
1052 | #undef HAVE_MKSTEMP | |
1053 | ||
75ef19df RR |
1054 | /* Define if you have the nanosleep function. */ |
1055 | #undef HAVE_NANOSLEEP | |
1056 | ||
8fd0d89b VZ |
1057 | /* Define if you have the putenv function. */ |
1058 | #undef HAVE_PUTENV | |
1059 | ||
1060 | /* Define if you have the setenv function. */ | |
1061 | #undef HAVE_SETENV | |
1062 | ||
75ef19df RR |
1063 | /* Define if you have the shl_load function. */ |
1064 | #undef HAVE_SHL_LOAD | |
1065 | ||
e90c1d2a VZ |
1066 | /* Define if you have strtok_r function. */ |
1067 | #undef HAVE_STRTOK_R | |
1068 | ||
9ec64fa7 | 1069 | /* Define if you have thr_setconcurrency function */ |
eb4efbdc | 1070 | #undef HAVE_THR_SETCONCURRENCY |
9ec64fa7 | 1071 | |
75ef19df RR |
1072 | /* Define if you have the uname function. */ |
1073 | #undef HAVE_UNAME | |
1074 | ||
1075 | /* Define if you have the usleep function. */ | |
1076 | #undef HAVE_USLEEP | |
1077 | ||
75ef19df RR |
1078 | /* Define if you have the <X11/XKBlib.h> header file. */ |
1079 | #undef HAVE_X11_XKBLIB_H | |
1080 | ||
f530f862 VZ |
1081 | /* Define if you have the fnmatch() function */ |
1082 | #undef HAVE_FNMATCH | |
1083 | ||
75ef19df RR |
1084 | /* Define if you have the <fnmatch.h> header file. */ |
1085 | #undef HAVE_FNMATCH_H | |
1086 | ||
1087 | /* Define if you have the <iostream> header file. */ | |
1088 | #undef HAVE_IOSTREAM | |
1089 | ||
1090 | /* Define if you have the <linux/joystick.h> header file. */ | |
1091 | #undef HAVE_LINUX_JOYSTICK_H | |
1092 | ||
1093 | /* Define if you have the <sched.h> header file. */ | |
1094 | #undef HAVE_SCHED_H | |
1095 | ||
1096 | /* Define if you have the <strings.h> header file. */ | |
1097 | #undef HAVE_STRINGS_H | |
1098 | ||
1099 | /* Define if you have the <unistd.h> header file. */ | |
1100 | #undef HAVE_UNISTD_H | |
1101 | ||
0fb0dd83 RR |
1102 | /* Define if you have the <fcntl.h> header file. */ |
1103 | #undef HAVE_FCNTL_H | |
1104 | ||
75ef19df RR |
1105 | /* Define if you have the <wchar.h> header file. */ |
1106 | #undef HAVE_WCHAR_H | |
1107 | ||
1108 | /* Define if you have the <wcstr.h> header file. */ | |
1109 | #undef HAVE_WCSTR_H | |
1110 | ||
0fbb762e MB |
1111 | /* Define if you have the <wctype.h> header file. */ |
1112 | #undef HAVE_WCTYPE_H | |
1113 | ||
b040e242 VS |
1114 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ |
1115 | #undef HAVE_ICONV | |
6f72b082 | 1116 | |
b040e242 VS |
1117 | /* Define as "const" if the declaration of iconv() needs const. */ |
1118 | #undef ICONV_CONST | |
29f45f85 | 1119 | |
6f72b082 OK |
1120 | /* Define if you have the <langinfo.h> header file. */ |
1121 | #undef HAVE_LANGINFO_H | |
1122 | ||
d4158b5d VS |
1123 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ |
1124 | #undef HAVE_W32API_H | |
1125 | ||
b3e8d00a VZ |
1126 | /* Define if you have wcsrtombs() function */ |
1127 | #undef HAVE_WCSRTOMBS | |
1128 | ||
d74f4b5a VZ |
1129 | /* Define this if you have fputws() and putwc() */ |
1130 | #undef HAVE_FPUTWC | |
1131 | ||
1132 | /* Define this if you have wprintf() and related functions */ | |
1133 | #undef HAVE_WPRINTF | |
1134 | ||
5c6fa7d2 RR |
1135 | /* Define this if you have wprintf() and related functions */ |
1136 | #undef HAVE_VSWPRINTF | |
1137 | ||
79668cae MB |
1138 | /* Define this if you have _vsnwprintf */ |
1139 | #undef HAVE__VSNWPRINTF | |
1140 | ||
7799a2d7 | 1141 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ |
d84b26a7 | 1142 | #undef HAVE_XIM |
7799a2d7 | 1143 | |
3a922bb4 | 1144 | |
1d65a68f VZ |
1145 | /* ------------------------------------------------------------------------- |
1146 | Win32 adjustments section | |
1147 | ------------------------------------------------------------------------- */ | |
1148 | ||
1149 | #ifdef __WIN32__ | |
1150 | ||
1151 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility | |
1152 | with wx/msw/setup.h */ | |
1153 | #define wxUSE_XPM_IN_MSW wxUSE_XPM | |
1154 | ||
1155 | #endif /* __WIN32__ */ | |
1156 | ||
3a922bb4 RL |
1157 | /* --------------------------------------------------------* |
1158 | * This stuff is static, it doesn't get modified directly | |
1159 | * by configure. | |
1160 | */ | |
1161 | ||
1162 | #include "wx/chkconf.h" | |
1163 | ||
1164 | /* | |
1165 | define some constants identifying wxWindows version in more details than | |
1166 | just the version number | |
1167 | */ | |
1168 | ||
1169 | /* wxLogChain class available */ | |
1170 | #define wxHAS_LOG_CHAIN | |
1171 | ||
1172 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
1173 | #undef wxHAS_WORKING_GTK_DC_BLIT | |
1174 | ||
1175 | ||
75ef19df | 1176 | #endif /* __WX_SETUP_H__ */ |
3a922bb4 | 1177 |