]>
Commit | Line | Data |
---|---|---|
9b6dbb09 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: setup.h | |
3 | // Purpose: Configuration for the library | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 17/09/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_SETUP_H_ | |
13 | #define _WX_SETUP_H_ | |
14 | ||
15 | /* | |
16 | * General features | |
17 | * | |
18 | */ | |
19 | ||
47d67540 | 20 | #define wxUSE_CONSTRAINTS 1 |
9b6dbb09 | 21 | // Use constraints mechanism |
47d67540 | 22 | #define wxUSE_CONFIG 1 |
9b6dbb09 JS |
23 | // Use wxConfig, with CreateConfig in wxApp |
24 | #define _WX_GOODCOMPILER__ | |
25 | // gcc can have problems, but Windows compilers | |
26 | // are generally OK. | |
27 | #define WXWIN_COMPATIBILITY 1 | |
28 | // Compatibility with 1.66 API. | |
29 | // Level 0: no backward compatibility, all new features | |
30 | // Level 1: wxDC, OnSize (etc.) compatibility, but | |
31 | // some new features such as event tables | |
32 | ||
47d67540 | 33 | #define wxUSE_POSTSCRIPT 1 |
9b6dbb09 | 34 | // 0 for no PostScript device context |
47d67540 | 35 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 |
9b6dbb09 | 36 | // 1 to use font metric files in GetTextExtent |
47d67540 | 37 | #define wxUSE_METAFILE 1 |
9b6dbb09 | 38 | // 0 for no Metafile and metafile device context |
47d67540 | 39 | #define wxUSE_IPC 1 |
9b6dbb09 | 40 | // 0 for no interprocess comms |
47d67540 | 41 | #define wxUSE_HELP 1 |
9b6dbb09 | 42 | // 0 for no help facility |
47d67540 | 43 | #define wxUSE_RESOURCES 1 |
9b6dbb09 | 44 | // 0 for no wxGetResource/wxWriteResource |
47d67540 | 45 | #define wxUSE_CLIPBOARD 1 |
9b6dbb09 | 46 | // 0 for no clipboard functions |
47d67540 | 47 | #define wxUSE_SPLINES 1 |
9b6dbb09 | 48 | // 0 for no splines |
47d67540 | 49 | #define wxUSE_XFIG_SPLINE_CODE 1 |
9b6dbb09 JS |
50 | // 1 for XFIG spline code, 0 for AIAI spline code. |
51 | // AIAI spline code is slower, but freer of copyright issues. | |
52 | // 0 for no splines | |
53 | ||
a4294b78 JS |
54 | #define wxUSE_XPM 1 |
55 | // Use XPMs | |
56 | ||
57 | #define wxUSE_TOOLBAR 1 | |
89c7e962 | 58 | // Use toolbars |
a4294b78 | 59 | #define wxUSE_COMBOBOX 1 |
89c7e962 | 60 | // Use wxComboBox |
47d67540 | 61 | #define wxUSE_DRAG_AND_DROP 1 |
9b6dbb09 JS |
62 | // 0 for no drag and drop |
63 | ||
47d67540 | 64 | #define wxUSE_WX_RESOURCES 1 |
9b6dbb09 JS |
65 | // Use .wxr resource mechanism (requires PrologIO library) |
66 | ||
47d67540 | 67 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 |
9b6dbb09 | 68 | // Set to 0 to disable document/view architecture |
47d67540 | 69 | #define wxUSE_PRINTING_ARCHITECTURE 1 |
9b6dbb09 | 70 | // Set to 0 to disable print/preview architecture code |
47d67540 | 71 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1 |
9b6dbb09 JS |
72 | // Set to 0 to disable PostScript print/preview architecture code |
73 | // under Windows (just use Windows printing). | |
47d67540 | 74 | #define wxUSE_DYNAMIC_CLASSES 1 |
9b6dbb09 JS |
75 | // If 1, enables provision of run-time type information. |
76 | // NOW MANDATORY: don't change. | |
47d67540 | 77 | #define wxUSE_MEMORY_TRACING 1 |
9b6dbb09 JS |
78 | // If 1, enables debugging versions of wxObject::new and |
79 | // wxObject::delete *IF* WXDEBUG is also defined. | |
80 | // WARNING: this code may not work with all architectures, especially | |
81 | // if alignment is an issue. | |
47d67540 | 82 | #define wxUSE_DEBUG_CONTEXT 1 |
9b6dbb09 JS |
83 | // If 1, enables wxDebugContext, for |
84 | // writing error messages to file, etc. | |
85 | // If WXDEBUG is not defined, will still use | |
86 | // normal memory operators. | |
87 | // It's recommended to set this to 1, | |
88 | // since you may well need to output | |
89 | // an error log in a production | |
90 | // version (or non-debugging beta) | |
47d67540 | 91 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 |
9b6dbb09 JS |
92 | // In debug mode, cause new and delete to be redefined globally. |
93 | // If this causes problems (e.g. link errors), set this to 0. | |
47bc1060 JS |
94 | // In wxMotif, causes an 'all bets are off' |
95 | // memory error (generated by wxWindows) | |
9b6dbb09 JS |
96 | |
97 | #define REMOVE_UNUSED_ARG 1 | |
98 | // Set this to 0 if your compiler can't cope | |
99 | // with omission of prototype parameters. | |
100 | ||
47d67540 | 101 | #define wxUSE_C_MAIN 0 |
9b6dbb09 JS |
102 | // Set to 1 to use main.c instead of main.cpp (UNIX only) |
103 | ||
47d67540 | 104 | #define wxUSE_ODBC 0 |
9b6dbb09 JS |
105 | // Define 1 to use ODBC classes |
106 | ||
47d67540 | 107 | #define wxUSE_IOSTREAMH 1 |
9b6dbb09 JS |
108 | // VC++ 4.2 and above allows <iostream> and <iostream.h> |
109 | // but you can't mix them. Set to 1 for <iostream.h>, | |
110 | // 0 for <iostream> | |
111 | ||
47d67540 | 112 | #define wxUSE_WXCONFIG 1 |
9b6dbb09 JS |
113 | // if enabled, compiles built-in OS independent wxConfig |
114 | // class and it's file (any platform) and registry (Win) | |
115 | // based implementations | |
a4294b78 JS |
116 | |
117 | #define wxUSE_GADGETS 0 | |
118 | // Use gadgets where possible | |
119 | ||
9b6dbb09 JS |
120 | /* |
121 | * Finer detail | |
122 | * | |
123 | */ | |
124 | ||
47d67540 | 125 | #define wxUSE_APPLE_IEEE 1 |
9b6dbb09 JS |
126 | // if enabled, the float codec written by Apple |
127 | // will be used to write, in a portable way, | |
128 | // float on the disk | |
129 | ||
130 | #endif | |
131 | // _WX_SETUP_H_ |