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