]>
Commit | Line | Data |
---|---|---|
9bd6a503 | 1 | ///////////////////////////////////////////////////////////////////////////// |
b3402d0d | 2 | // Name: wx/msw/setup.h |
9bd6a503 VZ |
3 | // Purpose: Configuration for the library |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
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 | ||
73974df1 VZ |
15 | // ---------------------------------------------------------------------------- |
16 | // global settings | |
17 | // ---------------------------------------------------------------------------- | |
9bd6a503 | 18 | |
73974df1 VZ |
19 | // define this to 0 when building wxBase library |
20 | #define wxUSE_GUI 1 | |
1f112209 | 21 | |
6d167489 VZ |
22 | // ---------------------------------------------------------------------------- |
23 | // compatibility settings | |
24 | // ---------------------------------------------------------------------------- | |
25 | ||
b3402d0d VZ |
26 | // This setting determines the compatibility with 1.68 API: |
27 | // Level 0: no backward compatibility, all new features | |
28 | // Level 1: some extra methods are defined for compatibility. | |
29 | // | |
30 | // Default is 0. | |
31 | // | |
32 | // Recommended setting: 0 (in fact the compatibility code is now very minimal | |
33 | // so there is little advantage to setting it to 1. | |
9bd6a503 | 34 | #define WXWIN_COMPATIBILITY 0 |
9bd6a503 | 35 | |
6d167489 VZ |
36 | // in wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap, |
37 | // but this is very dangerous because you can mistakenly pass an icon instead | |
38 | // of a bitmap to a function taking "const wxBitmap&" - which will *not* work | |
39 | // because an icon is not a valid bitmap | |
40 | // | |
41 | // Starting from 2.1.12, you have the choice under this backwards compatible | |
42 | // behaviour (your code will still compile, but probably won't behave as | |
43 | // expected!) and not deriving wxIcon class from wxBitmap, but providing a | |
44 | // conversion ctor wxBitmap(const wxIcon&) instead. | |
45 | // | |
46 | // Recommended setting: 0 | |
47 | #define wxICON_IS_BITMAP 0 | |
48 | ||
73974df1 | 49 | // ---------------------------------------------------------------------------- |
40973ea5 | 50 | // non GUI features selection |
73974df1 VZ |
51 | // ---------------------------------------------------------------------------- |
52 | ||
40973ea5 VZ |
53 | // Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit |
54 | // integer which is implemented in terms of native 64 bit integers if any or | |
55 | // uses emulation otherwise. | |
56 | // | |
57 | // This class is required by wxDateTime and so you should enable it if you want | |
58 | // to use wxDateTime. For most modern platforms, it will use the native 64 bit | |
59 | // integers in which case (almost) all of its functions are inline and it | |
60 | // almost does not take any space, so there should be no reason to switch it | |
61 | // off. | |
62 | // | |
63 | // Recommended setting: 1 | |
64 | #define wxUSE_LONGLONG 1 | |
65 | ||
66 | // Set wxUSE_TIMEDATE to 1 to compile the wxDateTime and related classes which | |
67 | // allow to manipulate dates, times and time intervals. wxDateTime replaces the | |
68 | // old wxTime and wxDate classes which are still provided for backwards | |
69 | // compatibility (and implemented in terms of wxDateTime). | |
70 | // | |
71 | // Note that this class is relatively new and is still officially in alpha | |
72 | // stage because some features are not yet (fully) implemented. It is already | |
73 | // quite useful though and should only be disabled if you are aiming at | |
74 | // absolutely minimal version of the library. | |
75 | // | |
76 | // Requires: wxUSE_LONGLONG | |
77 | // | |
78 | // Recommended setting: 1 | |
79 | #define wxUSE_TIMEDATE 1 | |
80 | ||
16193c2b VZ |
81 | // Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes |
82 | // which allow the application to store its settings in the persistent | |
83 | // storage. Setting this to 1 will also enable on-demand creation of the | |
84 | // global config object in wxApp. | |
85 | // | |
86 | // See also wxUSE_CONFIG_NATIVE below. | |
87 | // | |
88 | // Recommended setting: 1 | |
73974df1 | 89 | #define wxUSE_CONFIG 1 |
16193c2b VZ |
90 | |
91 | // If wxUSE_CONFIG is 1, you may choose to use either the native config | |
92 | // classes under Windows (using .INI files under Win16 and the registry under | |
93 | // Win32) or the portable text file format used by the config classes under | |
94 | // Unix. | |
95 | // | |
96 | // Default is 1 to use native classes. Note that you may still use | |
97 | // wxFileConfig even if you set this to 1 - just the config object created by | |
98 | // default for the applications needs will be a wxRegConfig or wxIniConfig and | |
99 | // not wxFileConfig. | |
100 | // | |
101 | // Recommended setting: 1 | |
102 | #define wxUSE_CONFIG_NATIVE 1 | |
103 | ||
bf84b0be VZ |
104 | // If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows |
105 | // to connect/disconnect from the network and be notified whenever the dial-up | |
106 | // network connection is established/terminated. | |
107 | // | |
108 | // Default is 1. | |
109 | // | |
110 | // Recommended setting: 1 | |
106f0395 | 111 | #define wxUSE_DIALUP_MANAGER 1 |
bf84b0be VZ |
112 | |
113 | // ---------------------------------------------------------------------------- | |
114 | // Optional controls | |
115 | // ---------------------------------------------------------------------------- | |
116 | ||
117 | // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar | |
118 | // classes at all. Otherwise, use the native toolbar class unless | |
119 | // wxUSE_TOOLBAR_NATIVE is 0. Additionally, the generic toolbar class which | |
120 | // supports some features which might not be supported by the native wxToolBar | |
121 | // class may be compiled in if wxUSE_TOOLBAR_SIMPLE is 1. | |
122 | // | |
123 | // Default is 1 for all settings. | |
124 | // | |
125 | // Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE and 0 for | |
126 | // wxUSE_TOOLBAR_SIMPLE (the default is 1 mainly for backwards compatibility). | |
127 | #define wxUSE_TOOLBAR 1 | |
128 | #define wxUSE_TOOLBAR_NATIVE 1 | |
129 | #define wxUSE_TOOLBAR_SIMPLE 1 | |
130 | ||
b3402d0d VZ |
131 | // wxNotebook is a control with several "tabs" located on one of its sides. It |
132 | // may be used ot logically organise the data presented to the user instead of | |
133 | // putting everything in one huge dialog. It replaces wxTabControl and related | |
134 | // classes of wxWin 1.6x. | |
135 | // | |
136 | // Default is 1. | |
137 | // | |
138 | // Recommended setting: 1 | |
139 | #define wxUSE_NOTEBOOK 1 | |
140 | ||
141 | // The corresponding controls will be compiled in if wxUSE_<CONTROL> is set to | |
142 | // 1 and not compiled into the library otherwise. | |
143 | // | |
144 | // Default is 1 for everything. | |
145 | // | |
146 | // Recommended setting: 1 (library might fail to compile for some combinations | |
147 | // of disabled controls) | |
148 | #define wxUSE_COMBOBOX 1 | |
149 | #define wxUSE_CHOICE 1 | |
150 | #define wxUSE_RADIOBTN 1 | |
151 | #define wxUSE_RADIOBOX 1 | |
152 | #define wxUSE_SCROLLBAR 1 | |
153 | #define wxUSE_CHECKBOX 1 | |
154 | #define wxUSE_LISTBOX 1 | |
155 | #define wxUSE_SPINBTN 1 | |
156 | #define wxUSE_SPINCTRL 1 | |
157 | #define wxUSE_STATLINE 1 | |
158 | #define wxUSE_CHECKLISTBOX 1 | |
159 | #define wxUSE_CHOICE 1 | |
160 | #define wxUSE_CARET 1 | |
161 | #define wxUSE_SLIDER 1 | |
162 | ||
d9317fd4 VZ |
163 | // ---------------------------------------------------------------------------- |
164 | // Metafiles support | |
165 | // ---------------------------------------------------------------------------- | |
166 | ||
167 | // Windows supports the graphics format known as metafile which is, though not | |
168 | // portable, is widely used under Windows and so is supported by wxWin (under | |
169 | // Windows only, of course). Win16 (Win3.1) used the so-called "Window | |
170 | // MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in | |
171 | // Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by | |
172 | // default, WMFs will be used under Win16 and EMFs under Win32. This may be | |
173 | // changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting | |
174 | // wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile | |
175 | // in any metafile related classes at all. | |
176 | // | |
177 | // Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS. | |
178 | // | |
179 | // Recommended setting: default or 0 for everything for portable programs. | |
180 | #define wxUSE_METAFILE 1 | |
181 | #define wxUSE_ENH_METAFILE 1 | |
182 | #define wxUSE_WIN_METAFILES_ALWAYS 0 | |
183 | ||
bf84b0be VZ |
184 | // ---------------------------------------------------------------------------- |
185 | // Postscript support settings | |
186 | // ---------------------------------------------------------------------------- | |
187 | ||
9bd6a503 | 188 | #define wxUSE_POSTSCRIPT 0 |
83b1bfaa | 189 | // 0 for no PostScript device context |
9bd6a503 VZ |
190 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 |
191 | // 1 to use font metric files in GetTextExtent | |
9bd6a503 VZ |
192 | #define wxUSE_IPC 1 |
193 | // 0 for no interprocess comms | |
194 | // Note: wxHELP uses IPC under X so these are interdependent! | |
195 | #define wxUSE_HELP 1 | |
196 | // 0 for no help facility | |
197 | #define wxUSE_RESOURCES 1 | |
198 | // 0 for no wxGetResource/wxWriteResource | |
199 | #define wxUSE_CONSTRAINTS 1 | |
200 | // 0 for no window layout constraint system | |
201 | ||
9bd6a503 VZ |
202 | #define wxUSE_CLIPBOARD 1 |
203 | // 0 for no clipboard functions | |
1f112209 | 204 | |
9bd6a503 | 205 | #define wxUSE_SPLINES 1 |
83b1bfaa | 206 | // 0 for no splines |
9bd6a503 VZ |
207 | |
208 | #define wxUSE_DRAG_AND_DROP 1 | |
209 | // 0 for no drag and drop | |
210 | ||
83b1bfaa GRG |
211 | #define wxUSE_BUTTONBAR 1 |
212 | // Define 1 to use buttonbar classes (enhanced toolbar | |
213 | // for MS Windows) | |
214 | #define wxUSE_GAUGE 1 | |
215 | // Define 1 to use Microsoft's gauge (Windows) | |
216 | // or Bull's gauge (Motif) library (both in contrib). | |
f85afd4e MB |
217 | #define wxUSE_NEW_GRID 1 |
218 | // Define 1 to use the new wxGrid class | |
219 | // (still under development, define 0 to | |
220 | // use existing wxGrid class) | |
83b1bfaa GRG |
221 | #define wxUSE_XPM_IN_MSW 1 |
222 | // Define 1 to support the XPM package in wxBitmap. | |
9bd6a503 | 223 | #define wxUSE_IMAGE_LOADING_IN_MSW 1 |
83b1bfaa | 224 | // Use dynamic DIB loading/saving code in utils/dib under MSW. |
9bd6a503 | 225 | #define wxUSE_RESOURCE_LOADING_IN_MSW 1 |
83b1bfaa GRG |
226 | // Use dynamic icon/cursor loading/saving code |
227 | // under MSW. | |
9bd6a503 | 228 | #define wxUSE_WX_RESOURCES 1 |
83b1bfaa | 229 | // Use .wxr resource mechanism (requires PrologIO library) |
9bd6a503 | 230 | |
83b1bfaa | 231 | #define wxUSE_STARTUP_TIPS 1 |
448af9a4 | 232 | // support for startup tips (wxShowTip &c) |
9bd6a503 | 233 | |
9bd6a503 | 234 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 |
83b1bfaa GRG |
235 | // Set to 0 to disable document/view architecture |
236 | #define wxUSE_MDI_ARCHITECTURE 1 | |
237 | // Set to 0 to disable MDI document/view architecture | |
9bd6a503 | 238 | #define wxUSE_PRINTING_ARCHITECTURE 1 |
83b1bfaa | 239 | // Set to 0 to disable print/preview architecture code |
9bd6a503 | 240 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1 |
83b1bfaa GRG |
241 | // Set to 0 to disable PostScript print/preview architecture code |
242 | // under Windows (just use Windows printing). | |
9bd6a503 | 243 | #define wxUSE_DYNAMIC_CLASSES 1 |
83b1bfaa GRG |
244 | // If 1, enables provision of run-time type information. |
245 | // NOW MANDATORY: don't change. | |
9bd6a503 | 246 | #define wxUSE_MEMORY_TRACING 1 |
83b1bfaa GRG |
247 | // If 1, enables debugging versions of wxObject::new and |
248 | // wxObject::delete *IF* __WXDEBUG__ is also defined. | |
249 | // WARNING: this code may not work with all architectures, especially | |
250 | // if alignment is an issue. | |
9bd6a503 | 251 | #define wxUSE_DEBUG_CONTEXT 1 |
83b1bfaa | 252 | // If 1, enables wxDebugContext, for |
5ea6dbbf | 253 | // writing error messages to file, etc. |
83b1bfaa GRG |
254 | // If __WXDEBUG__ is not defined, will still use |
255 | // normal memory operators. | |
256 | // It's recommended to set this to 1, | |
257 | // since you may well need to output | |
258 | // an error log in a production | |
259 | // version (or non-debugging beta) | |
9bd6a503 | 260 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 1 |
83b1bfaa GRG |
261 | // In debug mode, cause new and delete to be redefined globally. |
262 | // If this causes problems (e.g. link errors), set this to 0. | |
9bd6a503 VZ |
263 | |
264 | #define wxUSE_DEBUG_NEW_ALWAYS 1 | |
83b1bfaa GRG |
265 | // In debug mode, causes new to be defined to |
266 | // be WXDEBUG_NEW (see object.h). | |
267 | // If this causes problems (e.g. link errors), set this to 0. | |
268 | // You may need to set this to 0 if using templates (at least | |
269 | // for VC++). | |
9bd6a503 | 270 | |
83b1bfaa GRG |
271 | #define REMOVE_UNUSED_ARG 1 |
272 | // Set this to 0 if your compiler can't cope | |
273 | // with omission of prototype parameters. | |
9bd6a503 | 274 | |
83b1bfaa GRG |
275 | #define wxUSE_ODBC 0 |
276 | // Define 1 to use ODBC classes | |
9bd6a503 | 277 | |
aeb040bf GT |
278 | #define wxODBC_FWD_ONLY_CURSORS 1 |
279 | // For backward compatibility reasons, this parameter now only | |
280 | // controls the default scrolling method used by cursors. This | |
281 | // default behavior can be overriden by setting the second param | |
282 | // of wxDB::GetDbConnection() to indicate whether the connection | |
283 | // (and any wxTable()s that use the connection) should support | |
284 | // forward only scrolling of cursors, or both forward and backward | |
285 | // Support for backward scrolling cursors is dependent on the | |
286 | // data source as well as the ODBC driver being used. | |
9695185a | 287 | |
9bd6a503 VZ |
288 | #ifndef __MWERKS__ |
289 | #define wxUSE_IOSTREAMH 1 | |
290 | #else | |
dbda9e86 | 291 | #define wxUSE_IOSTREAMH 1 |
9bd6a503 | 292 | #endif |
83b1bfaa GRG |
293 | // VC++ 4.2 and above allows <iostream> and <iostream.h> |
294 | // but you can't mix them. Set to 1 for <iostream.h>, | |
295 | // 0 for <iostream> | |
9bd6a503 | 296 | |
d4ec5d32 | 297 | #define wxUSE_STREAMS 1 |
83b1bfaa | 298 | // If enabled (1), compiles wxWindows streams classes |
d4ec5d32 | 299 | |
83b1bfaa GRG |
300 | #define wxUSE_STD_IOSTREAM 0 |
301 | // Use standard C++ streams if 1. If 0, use wxWin | |
302 | // streams implementation. | |
d4ec5d32 | 303 | |
9bd6a503 | 304 | #define wxUSE_WXCONFIG 1 |
83b1bfaa GRG |
305 | // if enabled, compiles built-in OS independent wxConfig |
306 | // class and it's file (any platform) and registry (Win) | |
307 | // based implementations | |
9bd6a503 | 308 | #define wxUSE_THREADS 1 |
83b1bfaa GRG |
309 | // support for multithreaded applications: if |
310 | // 1, compile in thread classes (thread.h) | |
311 | // and make the library thread safe | |
9bd6a503 | 312 | #define wxUSE_ZLIB 1 |
83b1bfaa | 313 | // Use zlib for compression in streams and PNG code |
9bd6a503 | 314 | #define wxUSE_LIBPNG 1 |
83b1bfaa GRG |
315 | // Use PNG bitmap/image code |
316 | #define wxUSE_LIBJPEG 1 | |
317 | // Use JPEG bitmap/image code | |
5ea6dbbf RD |
318 | #define wxUSE_LIBTIFF 0 |
319 | // Use TIFF bitmap/image code | |
83b1bfaa GRG |
320 | #define wxUSE_GIF 1 |
321 | // Use GIF bitmap/image code | |
1044a386 | 322 | #define wxUSE_PNM 1 |
83b1bfaa | 323 | // Use PNM bitmap/image code |
1044a386 | 324 | #define wxUSE_PCX 1 |
83b1bfaa | 325 | // Use PCX bitmap/image code |
d4ec5d32 | 326 | #define wxUSE_SERIAL 0 |
83b1bfaa | 327 | // Use serialization (requires utils/serialize) |
3aa0e8fa | 328 | #define wxUSE_DYNLIB_CLASS 0 |
83b1bfaa GRG |
329 | // Compile in wxLibrary class for run-time |
330 | // DLL loading and function calling | |
9bd6a503 | 331 | #define wxUSE_TOOLTIPS 1 |
83b1bfaa GRG |
332 | // Define to use wxToolTip class and |
333 | // wxWindow::SetToolTip() method | |
334 | #define wxUSE_SOCKETS 1 | |
335 | // Set to 1 to use socket classes | |
0b5d3315 | 336 | #define wxUSE_HTML 1 |
83b1bfaa | 337 | // Set to 1 to use wxHTML sub-library |
0b5d3315 VS |
338 | #define wxUSE_FS_ZIP 1 |
339 | #define wxUSE_FS_INET 1 // Set to 1 to enable virtual file systems | |
d78b3d64 | 340 | |
0b5d3315 | 341 | #define wxUSE_BUSYINFO 1 |
83b1bfaa GRG |
342 | // wxBusyInfo displays window with message |
343 | // when app is busy. Works in same way as | |
344 | // wxBusyCursor | |
0b5d3315 | 345 | #define wxUSE_ZIPSTREAM 1 |
83b1bfaa | 346 | // input stream for reading from zip archives |
9bd6a503 VZ |
347 | |
348 | /* | |
349 | * Finer detail | |
350 | * | |
351 | */ | |
352 | ||
353 | #define wxUSE_APPLE_IEEE 1 | |
354 | // if enabled, the float codec written by Apple | |
355 | // will be used to write, in a portable way, | |
356 | // float on the disk | |
357 | ||
1318fabe VZ |
358 | // use wxFile class - required by i18n code, wxConfig and others - recommended |
359 | #define wxUSE_FILE 1 | |
360 | ||
361 | // use wxTextFile class: requires wxFile, required by wxConfig | |
362 | #define wxUSE_TEXTFILE 1 | |
363 | ||
364 | // i18n support: _() macro, wxLocale class. Requires wxFile | |
365 | #define wxUSE_INTL 1 | |
366 | ||
367 | // wxLogXXX functions - highly recommended | |
83b1bfaa | 368 | #define wxUSE_LOG 1 |
1318fabe VZ |
369 | |
370 | // wxValidator class | |
371 | #define wxUSE_VALIDATORS 1 | |
372 | ||
373 | // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar) | |
374 | #define wxUSE_ACCEL 1 | |
375 | ||
376 | // wxSashWindow class | |
377 | #define wxUSE_SASH 1 | |
378 | ||
379 | // text entry dialog and wxGetTextFromUser function | |
380 | #define wxUSE_TEXTDLG 1 | |
381 | ||
1318fabe VZ |
382 | // wxStatusBar class |
383 | #define wxUSE_STATUSBAR 1 | |
384 | ||
385 | // progress dialog class for lengthy operations | |
386 | #define wxUSE_PROGRESSDLG 1 | |
387 | ||
388 | // wxDirDlg class for getting a directory name from user | |
389 | #define wxUSE_DIRDLG 1 | |
390 | ||
9bd6a503 VZ |
391 | /* |
392 | * MS Windows/Windows NT | |
393 | * | |
394 | */ | |
395 | ||
3aa0e8fa VZ |
396 | #define wxUSE_OLE 1 |
397 | // drag-and-drop, clipboard, OLE Automation | |
398 | ||
9bd6a503 | 399 | #if defined(__WIN95__) |
1f112209 | 400 | #define wxUSE_CTL3D 0 |
9bd6a503 | 401 | #else |
1f112209 | 402 | #define wxUSE_CTL3D 1 |
83b1bfaa GRG |
403 | // Define 1 to use Microsoft CTL3D library. |
404 | // See note above about using FAFA and CTL3D. | |
9bd6a503 VZ |
405 | #endif |
406 | ||
6d167489 VZ |
407 | // can we use RICHEDIT control? |
408 | #if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__) | |
409 | #define wxUSE_RICHEDIT 1 | |
410 | #else | |
411 | #define wxUSE_RICHEDIT 0 | |
412 | #endif | |
413 | ||
9bd6a503 | 414 | #define wxUSE_COMMON_DIALOGS 1 |
83b1bfaa GRG |
415 | // On rare occasions (e.g. using DJGPP) may want |
416 | // to omit common dialogs | |
417 | // (e.g. file selector, printer dialog). | |
418 | // Switching this off also switches off | |
419 | // the printing architecture and interactive | |
420 | // wxPrinterDC. | |
9bd6a503 | 421 | #define wxUSE_ITSY_BITSY 1 |
83b1bfaa GRG |
422 | // Define 1 to use Microsoft's ItsyBitsy |
423 | // small title bar library, for wxMiniFrame | |
9bd6a503 | 424 | #define wxUSE_BITMAP_MESSAGE 1 |
83b1bfaa | 425 | // Define 1 to use bitmap messages. |
9bd6a503 | 426 | #define wxUSE_PORTABLE_FONTS_IN_MSW 0 |
83b1bfaa GRG |
427 | // Define 1 to use new portable font scheme in Windows |
428 | // (used by default under X) | |
1f112209 | 429 | #define wxFONT_SIZE_COMPATIBILITY 0 |
83b1bfaa GRG |
430 | // Define 1 for font size to be backward compatible |
431 | // to 1.63 and earlier. 1.64 and later define point | |
432 | // sizes to be compatible with Windows. | |
9bd6a503 | 433 | #define wxUSE_GENERIC_DIALOGS_IN_MSW 1 |
83b1bfaa GRG |
434 | // Define 1 to use generic dialogs in Windows, even though |
435 | // they duplicate native common dialog (e.g. wxColourDialog) | |
9bd6a503 | 436 | #define wxUSE_PENWINDOWS 0 |
83b1bfaa | 437 | // Set to 1 to use PenWindows |
9bd6a503 VZ |
438 | |
439 | #define wxUSE_OWNER_DRAWN 1 | |
83b1bfaa | 440 | // Owner-drawn menus and listboxes |
9bd6a503 VZ |
441 | |
442 | #define wxUSE_NATIVE_STATUSBAR 1 | |
83b1bfaa | 443 | // Set to 0 to use cross-platform wxStatusBar |
9bd6a503 VZ |
444 | |
445 | /* | |
446 | * Any platform | |
447 | * | |
448 | */ | |
449 | ||
450 | #define wxUSE_TYPEDEFS 0 | |
83b1bfaa GRG |
451 | // Use typedefs not classes for wxPoint |
452 | // and others, to reduce overhead and avoid | |
453 | // MS C7 memory bug. Bounds checker | |
454 | // complains about deallocating | |
455 | // arrays of wxPoints if wxPoint is a class. | |
9bd6a503 | 456 | |
1a7f3062 JS |
457 | #if defined(__MINGW32__) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))) |
458 | #ifndef wxUSE_NORLANDER_HEADERS | |
459 | # define wxUSE_NORLANDER_HEADERS 1 | |
460 | #endif | |
461 | #endif | |
462 | ||
463 | #if (!defined(WIN32) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !defined(wxUSE_NORLANDER_HEADERS)) | |
9bd6a503 VZ |
464 | // Can't use OLE drag and drop in Windows 3.1 because we don't know how |
465 | // to implement UUIDs | |
466 | // GnuWin32 doesn't have appropriate headers for e.g. IUnknown. | |
467 | #undef wxUSE_DRAG_AND_DROP | |
468 | #define wxUSE_DRAG_AND_DROP 0 | |
469 | #endif | |
470 | ||
471 | // Only WIN32 supports wxStatusBar95 | |
472 | #if !defined(__WIN32__) && wxUSE_NATIVE_STATUSBAR | |
473 | #undef wxUSE_NATIVE_STATUSBAR | |
474 | #define wxUSE_NATIVE_STATUSBAR 0 | |
475 | #endif | |
476 | ||
477 | // Salford C++ doesn't like some of the memory operator definitions | |
478 | #ifdef __SALFORDC__ | |
479 | #undef wxUSE_MEMORY_TRACING | |
480 | #define wxUSE_MEMORY_TRACING 0 | |
481 | ||
482 | #undef wxUSE_GLOBAL_MEMORY_OPERATORS | |
483 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
484 | ||
485 | #undef wxUSE_DEBUG_NEW_ALWAYS | |
486 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
487 | ||
488 | #undef wxUSE_THREADS | |
489 | #define wxUSE_THREADS 0 | |
490 | ||
9bd6a503 VZ |
491 | #undef wxUSE_OWNER_DRAWN |
492 | #define wxUSE_OWNER_DRAWN 0 | |
493 | #endif | |
494 | ||
495 | #ifdef __TWIN32__ | |
496 | ||
497 | #undef wxUSE_THREADS | |
498 | #define wxUSE_THREADS 0 | |
499 | ||
9bd6a503 VZ |
500 | #undef wxUSE_ODBC |
501 | #define wxUSE_ODBC 0 | |
502 | ||
503 | #endif | |
504 | ||
448af9a4 JS |
505 | // BC++/Win16 can't cope with the amount of data in resource.cpp |
506 | #if defined(__WIN16__) && defined(__BORLANDC__) | |
507 | #undef wxUSE_WX_RESOURCES | |
508 | #define wxUSE_WX_RESOURCES 0 | |
154f22b3 JS |
509 | |
510 | #undef wxUSE_ODBC | |
511 | #define wxUSE_ODBC 0 | |
448af9a4 JS |
512 | #endif |
513 | ||
0cdf89ab | 514 | #if defined(__WXMSW__) && defined(__WATCOMC__) |
0cdf89ab JS |
515 | #undef wxUSE_LIBJPEG |
516 | #define wxUSE_LIBJPEG 0 | |
517 | #endif | |
518 | ||
9bd6a503 VZ |
519 | #if defined(__WXMSW__) && !defined(__WIN32__) |
520 | ||
8fb3a512 JS |
521 | #undef wxUSE_SOCKETS |
522 | #define wxUSE_SOCKETS 0 | |
523 | ||
9bd6a503 VZ |
524 | #undef wxUSE_THREADS |
525 | #define wxUSE_THREADS 0 | |
526 | ||
750b78ba JS |
527 | #undef wxUSE_TOOLTIPS |
528 | #define wxUSE_TOOLTIPS 0 | |
529 | ||
0e528b99 JS |
530 | #undef wxUSE_SPINCTRL |
531 | #define wxUSE_SPINCTRL 0 | |
532 | ||
533 | #undef wxUSE_SPINBTN | |
534 | #define wxUSE_SPINBTN 0 | |
535 | ||
1044a386 JS |
536 | #undef wxUSE_LIBPNG |
537 | #define wxUSE_LIBPNG 0 | |
538 | ||
539 | #undef wxUSE_LIBJPEG | |
540 | #define wxUSE_LIBJPEG 0 | |
541 | ||
83b1bfaa GRG |
542 | #undef wxUSE_GIF |
543 | #define wxUSE_GIF 0 | |
1044a386 JS |
544 | |
545 | #undef wxUSE_PNM | |
546 | #define wxUSE_PNM 0 | |
547 | ||
548 | #undef wxUSE_PCX | |
549 | #define wxUSE_PCX 0 | |
550 | ||
9bd6a503 VZ |
551 | #endif |
552 | ||
9bd6a503 VZ |
553 | #endif |
554 | // _WX_SETUP_H_ |