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