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