]>
Commit | Line | Data |
---|---|---|
0dbd6262 SC |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: setup.h | |
3 | // Purpose: Configuration for the library | |
4 | // Author: AUTHOR | |
5 | // Modified by: | |
6 | // Created: ??/??/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) AUTHOR | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_SETUP_H_ | |
13 | #define _WX_SETUP_H_ | |
14 | ||
15 | /* | |
16 | * General features | |
17 | * | |
18 | */ | |
519cb848 SC |
19 | #define wxUSE_BUSYINFO 1 |
20 | ||
21 | #define WORDS_BIGENDIAN 1 | |
22 | ||
23 | #define wxUSE_LIBPNG 1 | |
24 | // Use PNG bitmap code | |
25 | #define wxUSE_LIBJPEG 1 | |
26 | // Use JPEG bitmap code | |
27 | #define wxUSE_STREAMS 1 | |
28 | ||
29 | #define wxUSE_ZLIB 1 | |
30 | #define wxUSE_ZIPSTREAM 1 | |
31 | #define wxUSE_SOCKETS 1 | |
0dbd6262 SC |
32 | |
33 | #define wxUSE_CONSTRAINTS 1 | |
34 | // Use constraints mechanism | |
35 | #define wxUSE_CONFIG 1 | |
36 | // Use wxConfig, with CreateConfig in wxApp | |
37 | #define _WX_GOODCOMPILER__ | |
38 | // gcc can have problems, but Windows compilers | |
39 | // are generally OK. | |
519cb848 | 40 | #define WXWIN_COMPATIBILITY 0 |
0dbd6262 SC |
41 | // Compatibility with 1.66 API. |
42 | // Level 0: no backward compatibility, all new features | |
43 | // Level 1: wxDC, OnSize (etc.) compatibility, but | |
44 | // some new features such as event tables | |
45 | ||
169935ad SC |
46 | #define wxUSE_AUTOTRANS 0 |
47 | // Define wxTString | |
8be97d65 | 48 | #define wxUSE_POSTSCRIPT 0 |
0dbd6262 SC |
49 | // 0 for no PostScript device context |
50 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 | |
51 | // 1 to use font metric files in GetTextExtent | |
519cb848 | 52 | #define wxUSE_METAFILE 1 |
0dbd6262 | 53 | // 0 for no Metafile and metafile device context |
169935ad SC |
54 | #define wxUSE_FORM 0 |
55 | // 0 for no wxForm | |
8be97d65 | 56 | #define wxUSE_IPC 0 |
0dbd6262 | 57 | // 0 for no interprocess comms |
8be97d65 | 58 | #define wxUSE_HELP 0 |
0dbd6262 | 59 | // 0 for no help facility |
519cb848 | 60 | #define wxUSE_RESOURCES 1 |
0dbd6262 | 61 | // 0 for no wxGetResource/wxWriteResource |
519cb848 | 62 | #define wxUSE_CLIPBOARD 1 |
0dbd6262 | 63 | // 0 for no clipboard functions |
8be97d65 | 64 | #define wxUSE_SPLINES 0 |
0dbd6262 | 65 | // 0 for no splines |
8be97d65 | 66 | #define wxUSE_XFIG_SPLINE_CODE 0 |
0dbd6262 SC |
67 | // 1 for XFIG spline code, 0 for AIAI spline code. |
68 | // AIAI spline code is slower, but freer of copyright issues. | |
69 | // 0 for no splines | |
70 | ||
519cb848 | 71 | #define wxUSE_TOOLBAR 1 |
0dbd6262 | 72 | // Use toolbars |
8be97d65 | 73 | #define wxUSE_DRAG_AND_DROP 0 |
0dbd6262 SC |
74 | // 0 for no drag and drop |
75 | ||
519cb848 | 76 | #define wxUSE_WX_RESOURCES 1 |
0dbd6262 SC |
77 | // Use .wxr resource mechanism (requires PrologIO library) |
78 | ||
79 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
80 | // Set to 0 to disable document/view architecture | |
519cb848 | 81 | #define wxUSE_PRINTING_ARCHITECTURE 1 |
0dbd6262 | 82 | // Set to 0 to disable print/preview architecture code |
8be97d65 | 83 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 |
0dbd6262 SC |
84 | // Set to 0 to disable PostScript print/preview architecture code |
85 | // under Windows (just use Windows printing). | |
86 | #define wxUSE_DYNAMIC_CLASSES 1 | |
87 | // If 1, enables provision of run-time type information. | |
88 | // NOW MANDATORY: don't change. | |
89 | #define wxUSE_MEMORY_TRACING 1 | |
90 | // If 1, enables debugging versions of wxObject::new and | |
91 | // wxObject::delete *IF* WXDEBUG is also defined. | |
92 | // WARNING: this code may not work with all architectures, especially | |
93 | // if alignment is an issue. | |
94 | #define wxUSE_DEBUG_CONTEXT 1 | |
95 | // If 1, enables wxDebugContext, for | |
96 | // writing error messages to file, etc. | |
97 | // If WXDEBUG is not defined, will still use | |
98 | // normal memory operators. | |
99 | // It's recommended to set this to 1, | |
100 | // since you may well need to output | |
101 | // an error log in a production | |
102 | // version (or non-debugging beta) | |
103 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
104 | // In debug mode, cause new and delete to be redefined globally. | |
105 | // If this causes problems (e.g. link errors), set this to 0. | |
106 | ||
107 | #define wxUSE_DEBUG_NEW_ALWAYS 1 | |
108 | // In debug mode, causes new to be defined to | |
109 | // be WXDEBUG_NEW (see object.h). | |
110 | // If this causes problems (e.g. link errors), set this to 0. | |
111 | ||
112 | #define REMOVE_UNUSED_ARG 1 | |
113 | // Set this to 0 if your compiler can't cope | |
114 | // with omission of prototype parameters. | |
115 | ||
116 | #define wxUSE_C_MAIN 0 | |
117 | // Set to 1 to use main.c instead of main.cpp (UNIX only) | |
118 | ||
119 | #define wxUSE_ODBC 0 | |
120 | // Define 1 to use ODBC classes | |
121 | ||
122 | #define wxUSE_IOSTREAMH 0 | |
123 | // VC++ 4.2 and above allows <iostream> and <iostream.h> | |
124 | // but you can't mix them. Set to 1 for <iostream.h>, | |
125 | // 0 for <iostream> | |
126 | ||
519cb848 SC |
127 | #define wxUSE_ZIPSTREAM 1 |
128 | ||
129 | #define wxUSE_FS_ZIP 1 | |
130 | ||
131 | #define wxUSE_FS_INET 1 | |
132 | ||
133 | #define wxUSE_STREAMS 1 | |
134 | // If enabled (1), compiles wxWindows streams classes | |
135 | ||
136 | #define wxUSE_STD_IOSTREAM 1 | |
137 | // Use standard C++ streams if 1. If 0, use wxWin | |
138 | // streams implementation. | |
8be97d65 | 139 | #define wxUSE_WXCONFIG 0 |
0dbd6262 SC |
140 | // if enabled, compiles built-in OS independent wxConfig |
141 | // class and it's file (any platform) and registry (Win) | |
142 | // based implementations | |
143 | /* | |
144 | * Finer detail | |
145 | * | |
146 | */ | |
147 | ||
148 | #define wxUSE_APPLE_IEEE 1 | |
149 | // if enabled, the float codec written by Apple | |
150 | // will be used to write, in a portable way, | |
151 | // float on the disk | |
152 | ||
519cb848 SC |
153 | // use wxFile class - required by i18n code, wxConfig and others - recommended |
154 | #define wxUSE_FILE 1 | |
155 | ||
156 | // use wxTextFile class: requires wxFile, required by wxConfig | |
157 | #define wxUSE_TEXTFILE 1 | |
158 | ||
159 | // i18n support: _() macro, wxLocale class. Requires wxFile | |
160 | #define wxUSE_INTL 1 | |
161 | ||
162 | // wxLogXXX functions - highly recommended | |
163 | #define wxUSE_LOG 1 | |
164 | ||
165 | // wxValidator class | |
166 | #define wxUSE_VALIDATORS 1 | |
167 | ||
168 | // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar) | |
169 | #define wxUSE_ACCEL 1 | |
170 | ||
171 | // wxSashWindow class | |
172 | #define wxUSE_SASH 1 | |
173 | ||
174 | // text entry dialog and wxGetTextFromUser function | |
175 | #define wxUSE_TEXTDLG 1 | |
176 | ||
177 | #define wxUSE_STATLINE 1 | |
178 | ||
179 | // wxToolBar class | |
180 | #define wxUSE_TOOLBAR 1 | |
181 | ||
182 | // wxStatusBar class | |
183 | #define wxUSE_STATUSBAR 1 | |
184 | ||
185 | // progress dialog class for lengthy operations | |
186 | #define wxUSE_PROGRESSDLG 1 | |
187 | ||
188 | // wxDirDlg class for getting a directory name from user | |
189 | #define wxUSE_DIRDLG 1 | |
190 | ||
0dbd6262 SC |
191 | #endif |
192 | // _WX_SETUP_H_ |