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