]>
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 | */ | |
e7549107 | 19 | |
7c74e7fe SC |
20 | #define WORDS_BIGENDIAN 1 |
21 | ||
0dbd6262 SC |
22 | #define wxUSE_CONFIG 1 |
23 | // Use wxConfig, with CreateConfig in wxApp | |
e7549107 | 24 | |
519cb848 | 25 | #define WXWIN_COMPATIBILITY 0 |
0dbd6262 SC |
26 | // Compatibility with 1.66 API. |
27 | // Level 0: no backward compatibility, all new features | |
28 | // Level 1: wxDC, OnSize (etc.) compatibility, but | |
29 | // some new features such as event tables | |
8be97d65 | 30 | #define wxUSE_POSTSCRIPT 0 |
0dbd6262 SC |
31 | // 0 for no PostScript device context |
32 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 | |
33 | // 1 to use font metric files in GetTextExtent | |
519cb848 | 34 | #define wxUSE_METAFILE 1 |
0dbd6262 | 35 | // 0 for no Metafile and metafile device context |
8be97d65 | 36 | #define wxUSE_IPC 0 |
0dbd6262 | 37 | // 0 for no interprocess comms |
8be97d65 | 38 | #define wxUSE_HELP 0 |
0dbd6262 | 39 | // 0 for no help facility |
519cb848 | 40 | #define wxUSE_RESOURCES 1 |
0dbd6262 | 41 | // 0 for no wxGetResource/wxWriteResource |
e7549107 SC |
42 | #define wxUSE_CONSTRAINTS 1 |
43 | // Use constraints mechanism | |
44 | #define wxUSE_TIMEDATE 1 | |
45 | // 0 for no wxTime/wxDate classes | |
46 | ||
519cb848 | 47 | #define wxUSE_CLIPBOARD 1 |
e7549107 SC |
48 | // 0 for no clipboard functions |
49 | ||
50 | #define wxUSE_SPLINES 1 | |
51 | // 0 for no splines | |
52 | ||
8be97d65 | 53 | #define wxUSE_DRAG_AND_DROP 0 |
e7549107 SC |
54 | // 0 for no drag and drop |
55 | ||
56 | #define wxUSE_TOOLBAR 1 | |
57 | // Define 1 to use toolbar classes | |
58 | #define wxUSE_BUTTONBAR 1 | |
59 | // Define 1 to use buttonbar classes (enhanced toolbar | |
60 | // for MS Windows) | |
61 | #define wxUSE_GAUGE 1 | |
62 | // Define 1 to use Microsoft's gauge (Windows) | |
63 | // or Bull's gauge (Motif) library (both in contrib). | |
64 | #define wxUSE_COMBOBOX 1 | |
65 | // Define 1 to use COMBOXBOX control (Windows) | |
66 | // or FWW's ComboBox widget (Motif). | |
67 | #define wxUSE_CHOICE 1 | |
68 | // Define 1 to use CHOICE | |
69 | ||
70 | #define wxUSE_RADIOBUTTON 1 | |
71 | // Define 1 to use radio button control | |
72 | #define wxUSE_RADIOBTN 1 | |
73 | // Unfortunately someone introduced this one, too | |
74 | ||
75 | #define wxUSE_SCROLLBAR 1 | |
76 | // Define 1 to compile contributed wxScrollBar class | |
77 | ||
78 | #define wxUSE_CHECKBOX 1 | |
79 | // Define 1 to compile checkbox | |
80 | ||
81 | #define wxUSE_LISTBOX 1 | |
82 | // Define 1 to compile listbox | |
83 | ||
84 | #define wxUSE_SPINBTN 1 | |
85 | // Define 1 to compile spin button | |
86 | ||
87 | // use wxStaticLine class (separator line in the dialog)? | |
88 | #define wxUSE_STATLINE 1 | |
0dbd6262 | 89 | |
e7549107 SC |
90 | #define wxUSE_CHECKLISTBOX 1 |
91 | // Define 1 to compile check listbox | |
92 | ||
93 | #define wxUSE_CHOICE 1 | |
94 | // Define 1 to compile choice | |
95 | ||
96 | #define wxUSE_CARET 1 | |
97 | // Define 1 to use wxCaret class | |
98 | #define wxUSE_XPM_IN_MSW 1 | |
99 | // Define 1 to support the XPM package in wxBitmap. | |
100 | #define wxUSE_IMAGE_LOADING_IN_MSW 1 | |
101 | // Use dynamic DIB loading/saving code in utils/dib under MSW. | |
102 | #define wxUSE_RESOURCE_LOADING_IN_MSW 1 | |
103 | // Use dynamic icon/cursor loading/saving code | |
104 | // under MSW. | |
519cb848 | 105 | #define wxUSE_WX_RESOURCES 1 |
0dbd6262 SC |
106 | // Use .wxr resource mechanism (requires PrologIO library) |
107 | ||
e7549107 SC |
108 | // support for startup tips (wxShowTip &c) |
109 | #define wxUSE_STARTUP_TIPS 1 | |
110 | ||
111 | // BC++/Win16 can't cope with the amount of data in resource.cpp | |
112 | #if defined(__WIN16__) && defined(__BORLANDC__) | |
113 | #undef wxUSE_WX_RESOURCES | |
114 | #define wxUSE_WX_RESOURCES 0 | |
115 | #endif | |
116 | ||
0dbd6262 SC |
117 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 |
118 | // Set to 0 to disable document/view architecture | |
e7549107 SC |
119 | #define wxUSE_MDI_ARCHITECTURE 1 |
120 | // Set to 0 to disable MDI document/view architecture | |
519cb848 | 121 | #define wxUSE_PRINTING_ARCHITECTURE 1 |
0dbd6262 | 122 | // Set to 0 to disable print/preview architecture code |
e7549107 | 123 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1 |
0dbd6262 SC |
124 | // Set to 0 to disable PostScript print/preview architecture code |
125 | // under Windows (just use Windows printing). | |
126 | #define wxUSE_DYNAMIC_CLASSES 1 | |
127 | // If 1, enables provision of run-time type information. | |
128 | // NOW MANDATORY: don't change. | |
129 | #define wxUSE_MEMORY_TRACING 1 | |
130 | // If 1, enables debugging versions of wxObject::new and | |
e7549107 | 131 | // wxObject::delete *IF* __WXDEBUG__ is also defined. |
0dbd6262 SC |
132 | // WARNING: this code may not work with all architectures, especially |
133 | // if alignment is an issue. | |
134 | #define wxUSE_DEBUG_CONTEXT 1 | |
135 | // If 1, enables wxDebugContext, for | |
136 | // writing error messages to file, etc. | |
e7549107 | 137 | // If __WXDEBUG__ is not defined, will still use |
0dbd6262 SC |
138 | // normal memory operators. |
139 | // It's recommended to set this to 1, | |
140 | // since you may well need to output | |
141 | // an error log in a production | |
142 | // version (or non-debugging beta) | |
7c74e7fe | 143 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 |
0dbd6262 SC |
144 | // In debug mode, cause new and delete to be redefined globally. |
145 | // If this causes problems (e.g. link errors), set this to 0. | |
146 | ||
147 | #define wxUSE_DEBUG_NEW_ALWAYS 1 | |
148 | // In debug mode, causes new to be defined to | |
149 | // be WXDEBUG_NEW (see object.h). | |
150 | // If this causes problems (e.g. link errors), set this to 0. | |
e7549107 SC |
151 | // You may need to set this to 0 if using templates (at least |
152 | // for VC++). | |
0dbd6262 SC |
153 | |
154 | #define REMOVE_UNUSED_ARG 1 | |
155 | // Set this to 0 if your compiler can't cope | |
156 | // with omission of prototype parameters. | |
157 | ||
e7549107 SC |
158 | #define wxUSE_ODBC 1 |
159 | // Define 1 to use ODBC classes | |
0dbd6262 | 160 | |
9695185a GT |
161 | |
162 | #define wxODBC_FWD_ONLY_CURSORS 1 | |
163 | // Some databases/ODBC drivers only allow forward scrolling cursors. | |
164 | // Unless you specifically want to use backward scrolling | |
165 | // cursors, and you know that all of the databases/ODBC drivers | |
166 | // that you will use these odbc classes with allow backward | |
167 | // scrolling cursors, this setting should remain set to 1 | |
168 | // for maximum database/driver compatibilty | |
169 | ||
170 | ||
0dbd6262 | 171 | |
e7549107 | 172 | #ifndef __MWERKS__ |
0dbd6262 | 173 | #define wxUSE_IOSTREAMH 0 |
e7549107 SC |
174 | #else |
175 | #define wxUSE_IOSTREAMH 1 | |
176 | #endif | |
0dbd6262 SC |
177 | // VC++ 4.2 and above allows <iostream> and <iostream.h> |
178 | // but you can't mix them. Set to 1 for <iostream.h>, | |
179 | // 0 for <iostream> | |
180 | ||
519cb848 SC |
181 | #define wxUSE_STREAMS 1 |
182 | // If enabled (1), compiles wxWindows streams classes | |
183 | ||
184 | #define wxUSE_STD_IOSTREAM 1 | |
185 | // Use standard C++ streams if 1. If 0, use wxWin | |
186 | // streams implementation. | |
e7549107 SC |
187 | |
188 | #define wxUSE_WXCONFIG 1 | |
0dbd6262 SC |
189 | // if enabled, compiles built-in OS independent wxConfig |
190 | // class and it's file (any platform) and registry (Win) | |
191 | // based implementations | |
51abe921 | 192 | #define wxUSE_THREADS 0 |
e7549107 SC |
193 | // support for multithreaded applications: if |
194 | // 1, compile in thread classes (thread.h) | |
195 | // and make the library thread safe | |
196 | #define wxUSE_ZLIB 1 | |
197 | // Use zlib for compression in streams and PNG code | |
198 | #define wxUSE_LIBPNG 1 | |
199 | // Use PNG bitmap code | |
200 | #define wxUSE_LIBJPEG 0 | |
201 | // Use JPEG bitmap code | |
202 | #define wxUSE_SERIAL 0 | |
203 | // Use serialization (requires utils/serialize) | |
204 | #define wxUSE_DYNLIB_CLASS 0 | |
205 | // Compile in wxLibrary class for run-time | |
206 | // DLL loading and function calling | |
207 | #define wxUSE_TOOLTIPS 1 | |
208 | // Define to use wxToolTip class and | |
209 | // wxWindow::SetToolTip() method | |
51abe921 | 210 | #define wxUSE_SOCKETS 0 // 0 |
e7549107 SC |
211 | // Set to 1 to use socket classes |
212 | #define wxUSE_HTML 1 // 0 | |
213 | // Set to 1 to use wxHTML sub-library | |
214 | #define wxUSE_FS_ZIP 1 // 0 | |
215 | #define wxUSE_FS_INET 1 // 0 // Set to 1 to enable virtual file systems | |
216 | ||
217 | #define wxUSE_BUSYINFO 1 // 0 | |
218 | // wxBusyInfo displays window with message | |
219 | // when app is busy. Works in same way as | |
220 | // wxBusyCursor | |
221 | #define wxUSE_ZIPSTREAM 1 // 0 | |
222 | // input stream for reading from zip archives | |
223 | ||
0dbd6262 SC |
224 | /* |
225 | * Finer detail | |
226 | * | |
227 | */ | |
228 | ||
e7549107 SC |
229 | #define wxUSE_APPLE_IEEE 1 |
230 | // if enabled, the float codec written by Apple | |
231 | // will be used to write, in a portable way, | |
232 | // float on the disk | |
0dbd6262 | 233 | |
519cb848 SC |
234 | // use wxFile class - required by i18n code, wxConfig and others - recommended |
235 | #define wxUSE_FILE 1 | |
236 | ||
237 | // use wxTextFile class: requires wxFile, required by wxConfig | |
238 | #define wxUSE_TEXTFILE 1 | |
239 | ||
240 | // i18n support: _() macro, wxLocale class. Requires wxFile | |
241 | #define wxUSE_INTL 1 | |
242 | ||
243 | // wxLogXXX functions - highly recommended | |
244 | #define wxUSE_LOG 1 | |
245 | ||
246 | // wxValidator class | |
247 | #define wxUSE_VALIDATORS 1 | |
248 | ||
249 | // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar) | |
250 | #define wxUSE_ACCEL 1 | |
251 | ||
252 | // wxSashWindow class | |
253 | #define wxUSE_SASH 1 | |
254 | ||
255 | // text entry dialog and wxGetTextFromUser function | |
256 | #define wxUSE_TEXTDLG 1 | |
257 | ||
519cb848 SC |
258 | // wxToolBar class |
259 | #define wxUSE_TOOLBAR 1 | |
260 | ||
261 | // wxStatusBar class | |
262 | #define wxUSE_STATUSBAR 1 | |
263 | ||
264 | // progress dialog class for lengthy operations | |
265 | #define wxUSE_PROGRESSDLG 1 | |
266 | ||
267 | // wxDirDlg class for getting a directory name from user | |
268 | #define wxUSE_DIRDLG 1 | |
269 | ||
e7549107 SC |
270 | /* |
271 | * MS Windows/Windows NT | |
272 | * | |
273 | */ | |
274 | ||
275 | #define wxUSE_OLE 1 | |
276 | // drag-and-drop, clipboard, OLE Automation | |
277 | ||
278 | #if defined(__WIN95__) | |
279 | #define wxUSE_CTL3D 0 | |
280 | #else | |
281 | #define wxUSE_CTL3D 1 | |
282 | // Define 1 to use Microsoft CTL3D library. | |
283 | // See note above about using FAFA and CTL3D. | |
284 | #endif | |
285 | ||
286 | #define wxUSE_COMMON_DIALOGS 1 | |
287 | // On rare occasions (e.g. using DJGPP) may want | |
288 | // to omit common dialogs | |
289 | // (e.g. file selector, printer dialog). | |
290 | // Switching this off also switches off | |
291 | // the printing architecture and interactive | |
292 | // wxPrinterDC. | |
293 | #define wxUSE_ITSY_BITSY 1 | |
294 | // Define 1 to use Microsoft's ItsyBitsy | |
295 | // small title bar library, for wxMiniFrame | |
296 | #define wxUSE_BITMAP_MESSAGE 1 | |
297 | // Define 1 to use bitmap messages. | |
298 | #define wxUSE_PORTABLE_FONTS_IN_MSW 0 | |
299 | // Define 1 to use new portable font scheme in Windows | |
300 | // (used by default under X) | |
301 | #define wxFONT_SIZE_COMPATIBILITY 0 | |
302 | // Define 1 for font size to be backward compatible | |
303 | // to 1.63 and earlier. 1.64 and later define point | |
304 | // sizes to be compatible with Windows. | |
305 | #define wxUSE_GENERIC_DIALOGS_IN_MSW 1 | |
306 | // Define 1 to use generic dialogs in Windows, even though | |
307 | // they duplicate native common dialog (e.g. wxColourDialog) | |
308 | #define wxUSE_PENWINDOWS 0 | |
309 | // Set to 1 to use PenWindows | |
310 | ||
51abe921 | 311 | #define wxUSE_OWNER_DRAWN 0 |
e7549107 SC |
312 | // Owner-drawn menus and listboxes |
313 | ||
314 | #define wxUSE_NATIVE_STATUSBAR 1 | |
315 | // Set to 0 to use cross-platform wxStatusBar | |
316 | #define wxUSE_DBWIN32 1 | |
317 | // Use Andrew Tucker's OutputDebugString implementation | |
318 | // (required on Win95 only). See utils.cpp. | |
319 | ||
320 | /* | |
321 | * Any platform | |
322 | * | |
323 | */ | |
324 | ||
325 | #define wxUSE_TYPEDEFS 1 | |
326 | // Use typedefs not classes for wxPoint | |
327 | // and others, to reduce overhead and avoid | |
328 | // MS C7 memory bug. Bounds checker | |
329 | // complains about deallocating | |
330 | // arrays of wxPoints if wxPoint is a class. | |
331 | ||
332 | ||
0dbd6262 SC |
333 | #endif |
334 | // _WX_SETUP_H_ |