]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/setup0.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / gtk / setup0.h
1 /* setup.h. Generated automatically by configure. */
2 /* setup.h.in. Generated automatically from configure.in by autoheader. */
3 /* Generate setup.h.in from this file using autoheader. */
4 /* */
5 /* Version: $Id$ */
6
7 /* This define (__WX_SETUP_H__) is used both to insure setup.h is included
8 * only once and to indicate that we are building using configure. */
9 #ifndef __WX_SETUP_H__
10 #define __WX_SETUP_H__
11
12 #ifdef __GNUG__
13 #pragma interface
14 #endif
15
16
17 /* Define to empty if the keyword does not work. */
18 /* #undef const */
19
20 /* Define to `int' if <sys/types.h> doesn't define. */
21 /* #undef gid_t */
22
23 /* Define if you don't have vprintf but do have _doprnt. */
24 /* #undef HAVE_DOPRNT */
25
26 /* Define if you have the vprintf function. */
27 #define HAVE_VPRINTF 1
28
29 /* Define as __inline if that's what the C compiler calls it. */
30 /* #undef inline */
31
32 /* Define to `int' if <sys/types.h> doesn't define. */
33 /* #undef mode_t */
34
35 /* Define to `long' if <sys/types.h> doesn't define. */
36 /* #undef off_t */
37
38 /* Define to `int' if <sys/types.h> doesn't define. */
39 /* #undef pid_t */
40
41 /* Define to `unsigned' if <sys/types.h> doesn't define. */
42 /* #undef size_t */
43
44 /* Define if you have the ANSI C header files. */
45 #define STDC_HEADERS 1
46
47 /* Define to `int' if <sys/types.h> doesn't define. */
48 /* #undef uid_t */
49
50 /* Define if your processor stores words with the most significant
51 byte first (like Motorola and SPARC, unlike Intel and VAX). */
52 /* #undef WORDS_BIGENDIAN */
53
54 /* Define if the X Window System is missing or not being used. */
55 /* #undef X_DISPLAY_MISSING */
56
57 /* Define if lex declares yytext as a char * by default, not a char[]. */
58 #define YYTEXT_POINTER 1
59
60 #define __WXGTK12__ 1
61
62 /*
63 * Define to 1 for Unix[-like] system
64 */
65 #define wxUSE_UNIX 1
66
67 #define __UNIX__ 1
68 #define __LINUX__ 1
69 /* #undef __SGI__ */
70 /* #undef __HPUX__ */
71 /* #undef __SYSV__ */
72 /* #undef __SVR4__ */
73 /* #undef __AIX__ */
74 /* #undef __SUN__ */
75 /* #undef __SOLARIS__ */
76 /* #undef __SUNOS__ */
77 /* #undef __ALPHA__ */
78 /* #undef __OSF__ */
79 /* #undef __BSD__ */
80 /* #undef __FREEBSD__ */
81 /* #undef __VMS__ */
82 /* #undef __ULTRIX__ */
83 /* #undef __DATA_GENERAL__ */
84 /* #undef __EMX__ */
85
86 /* #undef __WINDOWS__ */
87 /* #undef __WIN95__ */
88 /* #undef __WIN32__ */
89 /* #undef __GNUWIN32__ */
90 /* #undef WINVER */
91
92 /*
93 * Supports bool type
94 */
95 #define HAVE_BOOL 1
96
97 /*
98 * Use zlib
99 */
100 #define wxUSE_ZLIB 1
101 /*
102 * Use libpng
103 */
104 #define wxUSE_LIBPNG 1
105 /*
106 * Use libjpeg
107 */
108 #define wxUSE_LIBJPEG 1
109 /*
110 * Use libgif
111 */
112 #define wxUSE_LIBGIF 1
113 /*
114 * Use iODBC
115 */
116 #define wxUSE_ODBC 0
117 /*
118 * Use Threads
119 */
120 #define wxUSE_THREADS 1
121 /*
122 * Have glibc2
123 */
124 #define wxHAVE_GLIBC2 1
125 /*
126 * Use libXpm
127 */
128 #define wxHAVE_LIB_XPM 0
129 /*
130 * Use OpenGL
131 */
132 #define wxUSE_OPENGL 0
133
134 /*
135 * Use GUI
136 */
137 #define wxUSE_GUI 1
138 /*
139 * Defined if !wxUSE_GUI
140 */
141 /* #undef wxUSE_NOGUI */
142
143 /*
144 * Use constraints mechanism
145 */
146 #define wxUSE_CONSTRAINTS 1
147
148 /*
149 * Use validators
150 */
151 #define wxUSE_VALIDATORS 1
152
153 /*
154 * Use accelerators
155 */
156 #define wxUSE_ACCEL 1
157
158 /*
159 * Use wxTextEntryDialog
160 */
161 #define wxUSE_TEXTDLG 1
162
163 /*
164 * Use startup tips
165 */
166 #define wxUSE_STARTUP_TIPS 1
167
168 /*
169 * Use progress dialog
170 */
171 #define wxUSE_PROGRESSDLG 1
172
173 /*
174 * Use directory chooser dialog
175 */
176 #define wxUSE_DIRDLG 1
177
178 /*
179 * Joystick support (Linux/GTK only)
180 */
181 #define wxUSE_JOYSTICK 0
182
183 /*
184 * Use this control
185 */
186 #define wxUSE_CARET 1
187 /*
188 * Use this control
189 */
190 #define wxUSE_BMPBUTTON 1
191 /*
192 * Use this control
193 */
194 #define wxUSE_CHECKBOX 1
195 /*
196 * Use this control
197 */
198 #define wxUSE_CHECKLISTBOX 1
199 /*
200 * Use this control
201 */
202 #define wxUSE_COMBOBOX 1
203 /*
204 * Use this control
205 */
206 #define wxUSE_CHOICE 1
207 /*
208 * Use this control
209 */
210 #define wxUSE_GAUGE 1
211 /*
212 * Use this control
213 */
214 #define wxUSE_GRID 1
215 /*
216 * Use this control
217 */
218 #define wxUSE_IMAGLIST 1
219 /*
220 * Use this control
221 */
222 #define wxUSE_LISTBOX 1
223 /*
224 * Use this control
225 */
226 #define wxUSE_LISTCTRL 1
227 /*
228 * Use this control
229 */
230 #define wxUSE_NOTEBOOK 1
231 /*
232 * Use this control
233 */
234 #define wxUSE_RADIOBOX 1
235 /*
236 * Use this control
237 */
238 #define wxUSE_RADIOBTN 1
239 /*
240 * Use this control
241 */
242 #define wxUSE_SASH 1
243 /*
244 * Use this control
245 */
246 #define wxUSE_SCROLLBAR 1
247 /*
248 * Use this control
249 */
250 #define wxUSE_SLIDER 1
251 /*
252 * Use this control
253 */
254 #define wxUSE_SPINBTN 1
255 /*
256 * Use this control
257 */
258 #define wxUSE_SPLITTER 1
259 /*
260 * Use this control
261 */
262 #define wxUSE_STATBMP 1
263 /*
264 * Use this control
265 */
266 #define wxUSE_STATBOX 1
267 /*
268 * Use this control
269 */
270 #define wxUSE_STATLINE 1
271 /*
272 * Use this control
273 */
274 #define wxUSE_STATUSBAR 1
275 /*
276 * Use Tab dialog class - obsolete, use wxNotebook instead
277 */
278 #define wxUSE_TAB_DIALOG 0
279 /* compatibility */
280 #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
281 /*
282 * Use this control
283 */
284 #define wxUSE_TOOLBAR 1
285
286 #if defined(__WXWINE__) || defined(__GNUWIN32__)
287 #if wxUSE_TOOLBAR
288 #define wxUSE_BUTTONBAR 1
289 #endif
290 #endif
291
292 /*
293 * Use this control
294 */
295 #define wxUSE_TREECTRL 1
296
297 /*
298 * Use wxLongLong (a.k.a. int64) class
299 */
300 #define wxUSE_LONGLONG 0
301
302 /*
303 * Use wxFile class
304 */
305 #define wxUSE_FILE 1
306 /*
307 * Use wxTextFile class
308 */
309 #define wxUSE_TEXTFILE 1
310 /*
311 * Use log classes and logging functions
312 */
313 #define wxUSE_LOG 1
314 /*
315 * Use time and date classes
316 */
317 #define wxUSE_TIMEDATE 1
318 /*
319 * Use wave class
320 */
321 #define wxUSE_WAVE 0
322 /*
323 * Use config system
324 */
325 #define wxUSE_CONFIG 1
326 /*
327 * Use intl system
328 */
329 #define wxUSE_INTL 1
330 /*
331 * Use streams
332 */
333 #define wxUSE_STREAMS 1
334 /*
335 * Use class serialization
336 */
337 #define wxUSE_SERIAL 1
338 /*
339 * Use sockets
340 */
341 #define wxUSE_SOCKETS 1
342 /*
343 * Use standard C++ streams if 1. If 0, use wxWin
344 * streams implementation.
345 */
346 #define wxUSE_STD_IOSTREAM 0
347 /*
348 * wxLibrary class
349 */
350 #define wxUSE_DYNLIB_CLASS 1
351
352 /*
353 * Use font metric files in GetTextExtent for wxPostScriptDC
354 * Use consistent PostScript fonts for AFM and printing (!)
355 */
356 #define wxUSE_AFM_FOR_POSTSCRIPT 1
357 #define wxUSE_NORMALIZED_PS_FONTS 1
358
359 /* compatibility */
360 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
361
362 /*
363 * Use PostScript device context
364 */
365 #define wxUSE_POSTSCRIPT 1
366
367 /*
368 * Compile wxString with wide character (Unicode) support?
369 */
370 #define wxUSE_UNICODE 0
371
372 /*
373 * Work around a bug in GNU libc 5.x wcstombs() implementation.
374 *
375 * Note that you must link your programs with libc.a if you enable this and you
376 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
377 * thread-safe version of wcstombs()).
378 */
379 #define wxUSE_WCSRTOMBS 0
380
381 /*
382 * On some platforms overloading on size_t/int doesn't work, yet we'd like
383 * to define both size_t and int version of wxString::operator[] because it
384 * should really be size_t, but a lot of old, broken code uses int indices.
385 */
386 #define wxUSE_SIZE_T_STRING_OPERATOR 0
387
388 /*
389 * Use the new experimental implementation of wxString::Printf()?
390 *
391 * Warning: enabling this may cause internal compiler errors with gcc!
392 */
393 #define wxUSE_EXPERIMENTAL_PRINTF 0
394
395 /*
396 * Use Interprocess communication
397 */
398 #define wxUSE_IPC 1
399 /*
400 * Use wxGetResource & wxWriteResource (change .Xdefaults)
401 */
402 #define wxUSE_X_RESOURCES 0
403 /*
404 * Use clipboard
405 */
406 #define wxUSE_CLIPBOARD 1
407 /*
408 * Use tooltips
409 */
410 #define wxUSE_TOOLTIPS 1
411 /*
412 * Use dnd
413 */
414 #define wxUSE_DRAG_AND_DROP 1
415 /*
416 * Use spline
417 */
418 #define wxUSE_SPLINES 1
419 /*
420 * Use wxLibrary class
421 */
422 #define wxUSE_DYNLIB_CLASS 1
423
424 /*
425 * Use the mdi architecture
426 */
427 #define wxUSE_MDI_ARCHITECTURE 1
428 /*
429 * Use the document/view architecture
430 */
431 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
432 /*
433 * Use the print/preview architecture
434 */
435 #define wxUSE_PRINTING_ARCHITECTURE 1
436
437 /*
438 * Use Prolog IO
439 */
440 #define wxUSE_PROLOGIO 1
441 /*
442 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
443 */
444 #define wxUSE_RESOURCES 1
445
446 /* for compatibility */
447 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
448
449 /*
450 * Use wxWindows help facility (needs wxUSE_IPC 1)
451 */
452 #define wxUSE_HELP 1
453 /*
454 * Use iostream.h rather than iostream
455 */
456 #define wxUSE_IOSTREAMH 1
457 /*
458 * Use Apple Ieee-double converter
459 */
460 #define wxUSE_APPLE_IEEE 1
461 /*
462 * Compatibility with 1.66 API.
463 * Level 0: no backward compatibility, all new features
464 * Level 1: wxDC, OnSize (etc.) compatibility, but
465 * some new features such as event tables
466 */
467 #define WXWIN_COMPATIBILITY 0
468 /*
469 * Compatibility with 2.0 API.
470 */
471 #define WXWIN_COMPATIBILITY_2 1
472 /*
473 * Enables debugging: memory tracing, assert, etc., contains debug level
474 */
475 #define WXDEBUG 1
476 /*
477 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
478 * WARNING: this code may not work with all architectures, especially
479 * if alignment is an issue.
480 */
481 #define wxUSE_MEMORY_TRACING 0
482 /*
483 * Enable debugging version of global memory operators new and delete
484 * Disable it, If this causes problems (e.g. link errors)
485 */
486 #define wxUSE_DEBUG_NEW_ALWAYS 0
487 /*
488 * VZ: What does this one do? (FIXME)
489 */
490 #define wxUSE_DEBUG_CONTEXT 0
491 /*
492 * In debug mode, causes new to be defined to
493 * be WXDEBUG_NEW (see object.h). If this causes
494 * problems (e.g. link errors), set this to 0.
495 */
496 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
497 /*
498 * Matthews garbage collection (used for MrEd?)
499 */
500 #define WXGARBAGE_COLLECTION_ON 0
501 /*
502 * Use splines
503 */
504 #define wxUSE_SPLINES 1
505 /*
506 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
507 */
508 #define wxUSE_DYNAMIC_CLASSES 1
509
510 /*
511 * Support for metafiles
512 */
513 #define wxUSE_METAFILE 0
514
515 /*
516 * wxMiniFrame
517 */
518 #define wxUSE_MINIFRAME 1
519
520 /*
521 * wxHTML
522 */
523 #define wxUSE_HTML 1
524
525 /*
526 * (virtual) filesystems code
527 */
528 #define wxUSE_FS_INET 1
529 #define wxUSE_FS_ZIP 1
530
531 /*
532 * A class that shows info window when app is busy
533 * (works exactly like wxBusyCursor)
534 */
535 #define wxUSE_BUSYINFO 1
536
537 /*
538 * Zip stream for accessing files stored inside .zip archives
539 */
540 #define wxUSE_ZIPSTREAM 1
541
542
543 /*
544 * Disable this if your compiler can't cope
545 * with omission of prototype parameters.
546 */
547 #define REMOVE_UNUSED_ARG 1
548 /*
549 * The const keyword is being introduced more in wxWindows.
550 * You can use this setting to maintain backward compatibility.
551 * If 0: will use const wherever possible.
552 * If 1: will use const only where necessary
553 * for precompiled headers to work.
554 * If 2: will be totally backward compatible, but precompiled
555 * headers may not work and program size will be larger.
556 */
557 #define CONST_COMPATIBILITY 0
558
559 /* The type of 3rd argument to getsockname() - usually size_t or int */
560 #define SOCKLEN_T socklen_t
561
562 /* Define if you have dlopen() */
563 #define HAVE_DLOPEN 1
564
565 /* Define if you have nanosleep() */
566 #define HAVE_NANOSLEEP 1
567
568 /* Define if you have sched_yield */
569 #define HAVE_SCHED_YIELD 1
570
571 /* Define if you have pthread_cancel */
572 #define HAVE_PTHREAD_CANCEL 1
573
574 /* Define if you have all functions to set thread priority */
575 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
576
577 /* Define if you can specify exit functions to a thread */
578 /* #undef HAVE_THREAD_CLEANUP_FUNCTIONS */
579
580 /* Define if you have shl_load() */
581 /* #undef HAVE_SHL_LOAD */
582
583 /* Define if you have vsnprintf() */
584 #define HAVE_VSNPRINTF 1
585
586 /* Define if you have usleep() */
587 /* #undef HAVE_USLEEP */
588
589 /* Define if you have wcslen function */
590 #define HAVE_WCSLEN 1
591
592 /* The number of bytes in a char. */
593 #define SIZEOF_CHAR 1
594
595 /* The number of bytes in a int. */
596 #define SIZEOF_INT 4
597
598 /* The number of bytes in a int *. */
599 #define SIZEOF_INT_P 4
600
601 /* The number of bytes in a long. */
602 #define SIZEOF_LONG 4
603
604 /* The number of bytes in a long long. */
605 #define SIZEOF_LONG_LONG 8
606
607 /* The number of bytes in a short. */
608 #define SIZEOF_SHORT 2
609
610 /* Define if you have the dlopen function. */
611 #define HAVE_DLOPEN 1
612
613 /* Define if you have the gethostname function. */
614 /* #undef HAVE_GETHOSTNAME */
615
616 /* Define if you have the nanosleep function. */
617 #define HAVE_NANOSLEEP 1
618
619 /* Define if you have the shl_load function. */
620 /* #undef HAVE_SHL_LOAD */
621
622 /* Define if you have the uname function. */
623 #define HAVE_UNAME 1
624
625 /* Define if you have the usleep function. */
626 /* #undef HAVE_USLEEP */
627
628 /* Define if you have the vfork function. */
629 #define HAVE_VFORK 1
630
631 /* Define if you have the vsnprintf function. */
632 #define HAVE_VSNPRINTF 1
633
634 /* Define if you have the vsscanf function. */
635 #define HAVE_VSSCANF 1
636
637 /* Define if you have the <X11/XKBlib.h> header file. */
638 #define HAVE_X11_XKBLIB_H 1
639
640 /* Define if you have the <fnmatch.h> header file. */
641 #define HAVE_FNMATCH_H 1
642
643 /* Define if you have the <iostream> header file. */
644 #define HAVE_IOSTREAM 1
645
646 /* Define if you have the <linux/joystick.h> header file. */
647 /* #undef HAVE_LINUX_JOYSTICK_H */
648
649 /* Define if you have the <sched.h> header file. */
650 #define HAVE_SCHED_H 1
651
652 /* Define if you have the <strings.h> header file. */
653 #define HAVE_STRINGS_H 1
654
655 /* Define if you have the <unistd.h> header file. */
656 #define HAVE_UNISTD_H 1
657
658 /* Define if you have the <wchar.h> header file. */
659 #define HAVE_WCHAR_H 1
660
661 /* Define if you have the <wcstr.h> header file. */
662 /* #undef HAVE_WCSTR_H */
663
664 /* Name of package */
665 #define PACKAGE "wxWindows"
666
667 /* Version number of package */
668 #define VERSION "2.1.0"
669
670
671 #endif /* __WX_SETUP_H__ */