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