]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/setup0.h
Finally deprecated callbacks.
[wxWidgets.git] / include / wx / msw / setup0.h
CommitLineData
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
ff2d113e
VZ
147// of disabled controls)
148#define wxUSE_CARET 1
149#define wxUSE_CHECKBOX 1
150#define wxUSE_CHECKLISTBOX 1
b3402d0d 151#define wxUSE_CHOICE 1
ff2d113e
VZ
152#define wxUSE_COMBOBOX 1
153#define wxUSE_GAUGE 1
154#define wxUSE_LISTBOX 1
b3402d0d 155#define wxUSE_RADIOBOX 1
ff2d113e 156#define wxUSE_RADIOBTN 1
b3402d0d 157#define wxUSE_SCROLLBAR 1
ff2d113e 158#define wxUSE_SLIDER 1
b3402d0d
VZ
159#define wxUSE_SPINBTN 1
160#define wxUSE_SPINCTRL 1
161#define wxUSE_STATLINE 1
ff2d113e
VZ
162
163// this setting is obsolete, value is ignored
164#define wxUSE_BUTTONBAR 1
165
166// wxGrid class comes in two flavours: the original (pre wxWin 2.2) one and
167// the new, much imporved and enhanced version. The new version is backwards
168// compatible with the old one and should be used whenever possible, i.e. if
169// you set wxUSE_GRID to 1, set wxUSE_NEW_GRID to 1 too.
170//
171// Default is 1 for both options.
172//
173// Recommended setting: 1 for wxUSE_NEW_GRID, 0 if you have an old code using
174// wxGrid and 100% backwards compatible (with all old wxGrid quirks) is
175// essential.
176#define wxUSE_GRID 1
177#define wxUSE_NEW_GRID 1
b3402d0d 178
d9317fd4
VZ
179// ----------------------------------------------------------------------------
180// Metafiles support
181// ----------------------------------------------------------------------------
182
183// Windows supports the graphics format known as metafile which is, though not
184// portable, is widely used under Windows and so is supported by wxWin (under
185// Windows only, of course). Win16 (Win3.1) used the so-called "Window
186// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
187// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
188// default, WMFs will be used under Win16 and EMFs under Win32. This may be
189// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
190// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
191// in any metafile related classes at all.
192//
193// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
194//
195// Recommended setting: default or 0 for everything for portable programs.
196#define wxUSE_METAFILE 1
197#define wxUSE_ENH_METAFILE 1
198#define wxUSE_WIN_METAFILES_ALWAYS 0
199
ff2d113e
VZ
200// ----------------------------------------------------------------------------
201// Big GUI components
202// ----------------------------------------------------------------------------
203
204// wxHTML sublibrary allows to display HTML in wxWindow programs and much,
205// much more.
206//
207// Default is 1.
208//
209// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a
210// smaller library.
211#define wxUSE_HTML 1
212
213// wxPlot is a class to display functions plots in wxWindow.
214//
215// Default is 1.
216//
217// Recommended setting: 1
218#define wxUSE_PLOT 1
219
8b089c5e
JS
220// OpenGL canvas
221#define wxUSE_GLCANVAS 0
222
babc9758
JS
223// wxTreeLayout class
224#define wxUSE_TREELAYOUT 1
225
bf84b0be
VZ
226// ----------------------------------------------------------------------------
227// Postscript support settings
228// ----------------------------------------------------------------------------
229
9bd6a503 230#define wxUSE_POSTSCRIPT 0
83b1bfaa 231 // 0 for no PostScript device context
9bd6a503
VZ
232#define wxUSE_AFM_FOR_POSTSCRIPT 0
233 // 1 to use font metric files in GetTextExtent
9bd6a503
VZ
234#define wxUSE_IPC 1
235 // 0 for no interprocess comms
236// Note: wxHELP uses IPC under X so these are interdependent!
237#define wxUSE_HELP 1
238 // 0 for no help facility
239#define wxUSE_RESOURCES 1
240 // 0 for no wxGetResource/wxWriteResource
241#define wxUSE_CONSTRAINTS 1
242 // 0 for no window layout constraint system
243
9bd6a503
VZ
244#define wxUSE_CLIPBOARD 1
245 // 0 for no clipboard functions
1f112209 246
9bd6a503 247#define wxUSE_SPLINES 1
83b1bfaa 248 // 0 for no splines
9bd6a503
VZ
249
250#define wxUSE_DRAG_AND_DROP 1
251 // 0 for no drag and drop
252
83b1bfaa 253#define wxUSE_XPM_IN_MSW 1
1ea67089
GRG
254 // 0 for no XPM support in wxBitmap.
255 // Default is 1, as XPM is now fully
256 // supported this makes easier the issue
257 // of portable icons and bitmaps.
9bd6a503 258#define wxUSE_IMAGE_LOADING_IN_MSW 1
83b1bfaa 259 // Use dynamic DIB loading/saving code in utils/dib under MSW.
9bd6a503 260#define wxUSE_RESOURCE_LOADING_IN_MSW 1
83b1bfaa
GRG
261 // Use dynamic icon/cursor loading/saving code
262 // under MSW.
9bd6a503 263#define wxUSE_WX_RESOURCES 1
83b1bfaa 264 // Use .wxr resource mechanism (requires PrologIO library)
9bd6a503 265
83b1bfaa 266#define wxUSE_STARTUP_TIPS 1
448af9a4 267 // support for startup tips (wxShowTip &c)
9bd6a503 268
9bd6a503 269#define wxUSE_DOC_VIEW_ARCHITECTURE 1
83b1bfaa
GRG
270 // Set to 0 to disable document/view architecture
271#define wxUSE_MDI_ARCHITECTURE 1
272 // Set to 0 to disable MDI document/view architecture
9bd6a503 273#define wxUSE_PRINTING_ARCHITECTURE 1
83b1bfaa 274 // Set to 0 to disable print/preview architecture code
9bd6a503 275#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
83b1bfaa
GRG
276 // Set to 0 to disable PostScript print/preview architecture code
277 // under Windows (just use Windows printing).
9bd6a503 278#define wxUSE_DYNAMIC_CLASSES 1
83b1bfaa
GRG
279 // If 1, enables provision of run-time type information.
280 // NOW MANDATORY: don't change.
9bd6a503 281#define wxUSE_DEBUG_CONTEXT 1
83b1bfaa 282 // If 1, enables wxDebugContext, for
5ea6dbbf 283 // writing error messages to file, etc.
1ea67089
GRG
284 // If __WXDEBUG__ is not defined, will
285 // still use normal memory operators.
83b1bfaa
GRG
286 // It's recommended to set this to 1,
287 // since you may well need to output
288 // an error log in a production
289 // version (or non-debugging beta)
1ea67089
GRG
290#define wxUSE_MEMORY_TRACING 1
291 // If 1, enables debugging versions of wxObject::new and
292 // wxObject::delete *IF* __WXDEBUG__ is also defined.
293 // WARNING: this code may not work with all architectures,
294 // especially if alignment is an issue.
295 // This switch is currently ignored for
296 // mingw / cygwin
9bd6a503 297#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
83b1bfaa
GRG
298 // In debug mode, cause new and delete to be redefined globally.
299 // If this causes problems (e.g. link errors), set this to 0.
1ea67089
GRG
300 // This switch is currently ignored for
301 // mingw / cygwin
9bd6a503 302#define wxUSE_DEBUG_NEW_ALWAYS 1
83b1bfaa
GRG
303 // In debug mode, causes new to be defined to
304 // be WXDEBUG_NEW (see object.h).
305 // If this causes problems (e.g. link errors), set this to 0.
306 // You may need to set this to 0 if using templates (at least
307 // for VC++).
1ea67089
GRG
308 // This switch is currently ignored for
309 // mingw / cygwin
83b1bfaa
GRG
310#define REMOVE_UNUSED_ARG 1
311 // Set this to 0 if your compiler can't cope
312 // with omission of prototype parameters.
9bd6a503 313
83b1bfaa
GRG
314#define wxUSE_ODBC 0
315 // Define 1 to use ODBC classes
9bd6a503 316
aeb040bf
GT
317#define wxODBC_FWD_ONLY_CURSORS 1
318 // For backward compatibility reasons, this parameter now only
319 // controls the default scrolling method used by cursors. This
320 // default behavior can be overriden by setting the second param
321 // of wxDB::GetDbConnection() to indicate whether the connection
322 // (and any wxTable()s that use the connection) should support
323 // forward only scrolling of cursors, or both forward and backward
324 // Support for backward scrolling cursors is dependent on the
325 // data source as well as the ODBC driver being used.
9695185a 326
9bd6a503
VZ
327#ifndef __MWERKS__
328#define wxUSE_IOSTREAMH 1
329#else
dbda9e86 330#define wxUSE_IOSTREAMH 1
9bd6a503 331#endif
83b1bfaa
GRG
332 // VC++ 4.2 and above allows <iostream> and <iostream.h>
333 // but you can't mix them. Set to 1 for <iostream.h>,
334 // 0 for <iostream>
d4ec5d32 335#define wxUSE_STREAMS 1
83b1bfaa 336 // If enabled (1), compiles wxWindows streams classes
d4ec5d32 337
83b1bfaa
GRG
338#define wxUSE_STD_IOSTREAM 0
339 // Use standard C++ streams if 1. If 0, use wxWin
340 // streams implementation.
9bd6a503 341#define wxUSE_THREADS 1
83b1bfaa
GRG
342 // support for multithreaded applications: if
343 // 1, compile in thread classes (thread.h)
344 // and make the library thread safe
9bd6a503 345#define wxUSE_ZLIB 1
83b1bfaa 346 // Use zlib for compression in streams and PNG code
9bd6a503 347#define wxUSE_LIBPNG 1
83b1bfaa
GRG
348 // Use PNG bitmap/image code
349#define wxUSE_LIBJPEG 1
350 // Use JPEG bitmap/image code
1ea67089 351#define wxUSE_LIBTIFF 1
5ea6dbbf 352 // Use TIFF bitmap/image code
83b1bfaa
GRG
353#define wxUSE_GIF 1
354 // Use GIF bitmap/image code
1044a386 355#define wxUSE_PNM 1
83b1bfaa 356 // Use PNM bitmap/image code
1044a386 357#define wxUSE_PCX 1
83b1bfaa 358 // Use PCX bitmap/image code
d4ec5d32 359#define wxUSE_SERIAL 0
83b1bfaa 360 // Use serialization (requires utils/serialize)
2133c250 361#define wxUSE_DYNLIB_CLASS 1
83b1bfaa
GRG
362 // Compile in wxLibrary class for run-time
363 // DLL loading and function calling
9bd6a503 364#define wxUSE_TOOLTIPS 1
83b1bfaa
GRG
365 // Define to use wxToolTip class and
366 // wxWindow::SetToolTip() method
367#define wxUSE_SOCKETS 1
368 // Set to 1 to use socket classes
24528b0c
VS
369#define wxUSE_FILESYSTEM 1
370 // Set to 1 to enable virtual file systems
371 // (needed by wxHTML)
0b5d3315 372#define wxUSE_FS_ZIP 1
24528b0c
VS
373#define wxUSE_FS_INET 1
374 // Set to 1 to enable virtual file systems
d78b3d64 375
0b5d3315 376#define wxUSE_BUSYINFO 1
83b1bfaa
GRG
377 // wxBusyInfo displays window with message
378 // when app is busy. Works in same way as
379 // wxBusyCursor
0b5d3315 380#define wxUSE_ZIPSTREAM 1
83b1bfaa 381 // input stream for reading from zip archives
9bd6a503
VZ
382
383/*
384 * Finer detail
385 *
386 */
387
388#define wxUSE_APPLE_IEEE 1
389 // if enabled, the float codec written by Apple
390 // will be used to write, in a portable way,
391 // float on the disk
392
1318fabe
VZ
393// use wxFile class - required by i18n code, wxConfig and others - recommended
394#define wxUSE_FILE 1
395
396// use wxTextFile class: requires wxFile, required by wxConfig
397#define wxUSE_TEXTFILE 1
398
399// i18n support: _() macro, wxLocale class. Requires wxFile
400#define wxUSE_INTL 1
401
402// wxLogXXX functions - highly recommended
83b1bfaa 403#define wxUSE_LOG 1
1318fabe
VZ
404
405// wxValidator class
406#define wxUSE_VALIDATORS 1
407
408// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
409#define wxUSE_ACCEL 1
410
411// wxSashWindow class
412#define wxUSE_SASH 1
413
414// text entry dialog and wxGetTextFromUser function
415#define wxUSE_TEXTDLG 1
416
1318fabe
VZ
417// wxStatusBar class
418#define wxUSE_STATUSBAR 1
419
420// progress dialog class for lengthy operations
421#define wxUSE_PROGRESSDLG 1
422
423// wxDirDlg class for getting a directory name from user
424#define wxUSE_DIRDLG 1
425
9bd6a503
VZ
426/*
427 * MS Windows/Windows NT
428 *
429 */
430
3aa0e8fa
VZ
431#define wxUSE_OLE 1
432 // drag-and-drop, clipboard, OLE Automation
433
9bd6a503 434#if defined(__WIN95__)
1f112209 435#define wxUSE_CTL3D 0
9bd6a503 436#else
1f112209 437#define wxUSE_CTL3D 1
83b1bfaa
GRG
438 // Define 1 to use Microsoft CTL3D library.
439 // See note above about using FAFA and CTL3D.
9bd6a503
VZ
440#endif
441
6d167489
VZ
442// can we use RICHEDIT control?
443#if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__)
444#define wxUSE_RICHEDIT 1
445#else
446#define wxUSE_RICHEDIT 0
447#endif
448
9bd6a503 449#define wxUSE_COMMON_DIALOGS 1
83b1bfaa
GRG
450 // On rare occasions (e.g. using DJGPP) may want
451 // to omit common dialogs
452 // (e.g. file selector, printer dialog).
453 // Switching this off also switches off
454 // the printing architecture and interactive
455 // wxPrinterDC.
9bd6a503 456#define wxUSE_ITSY_BITSY 1
83b1bfaa 457 // Define 1 to use Microsoft's ItsyBitsy
1ea67089
GRG
458 // small title bar library, for wxMiniFrame.
459 // This setting is only used for Win3.1;
460 // Win9x and NT use native miniframes
461 // support instead.
9bd6a503 462#define wxUSE_BITMAP_MESSAGE 1
83b1bfaa 463 // Define 1 to use bitmap messages.
9bd6a503 464#define wxUSE_PORTABLE_FONTS_IN_MSW 0
83b1bfaa
GRG
465 // Define 1 to use new portable font scheme in Windows
466 // (used by default under X)
1f112209 467#define wxFONT_SIZE_COMPATIBILITY 0
83b1bfaa
GRG
468 // Define 1 for font size to be backward compatible
469 // to 1.63 and earlier. 1.64 and later define point
470 // sizes to be compatible with Windows.
9bd6a503 471#define wxUSE_GENERIC_DIALOGS_IN_MSW 1
83b1bfaa
GRG
472 // Define 1 to use generic dialogs in Windows, even though
473 // they duplicate native common dialog (e.g. wxColourDialog)
9bd6a503 474#define wxUSE_PENWINDOWS 0
83b1bfaa 475 // Set to 1 to use PenWindows
9bd6a503
VZ
476
477#define wxUSE_OWNER_DRAWN 1
83b1bfaa 478 // Owner-drawn menus and listboxes
9bd6a503
VZ
479
480#define wxUSE_NATIVE_STATUSBAR 1
83b1bfaa 481 // Set to 0 to use cross-platform wxStatusBar
9bd6a503
VZ
482
483/*
484 * Any platform
485 *
486 */
487
488#define wxUSE_TYPEDEFS 0
83b1bfaa
GRG
489 // Use typedefs not classes for wxPoint
490 // and others, to reduce overhead and avoid
491 // MS C7 memory bug. Bounds checker
492 // complains about deallocating
493 // arrays of wxPoints if wxPoint is a class.
9bd6a503 494
1a7f3062
JS
495#if defined(__MINGW32__) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95)))
496#ifndef wxUSE_NORLANDER_HEADERS
497# define wxUSE_NORLANDER_HEADERS 1
498#endif
499#endif
500
1ea67089
GRG
501// These don't work as expected for mingw32 and cygwin32
502#if defined(__GNUWIN32__)
503#undef wxUSE_MEMORY_TRACING
504#define wxUSE_MEMORY_TRACING 0
505
506#undef wxUSE_GLOBAL_MEMORY_OPERATORS
507#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
508
509#undef wxUSE_DEBUG_NEW_ALWAYS
510#define wxUSE_DEBUG_NEW_ALWAYS 0
511#endif
512
e06b9569 513#if (!defined(WIN32) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS)
9bd6a503
VZ
514// Can't use OLE drag and drop in Windows 3.1 because we don't know how
515// to implement UUIDs
516// GnuWin32 doesn't have appropriate headers for e.g. IUnknown.
517#undef wxUSE_DRAG_AND_DROP
518#define wxUSE_DRAG_AND_DROP 0
519#endif
520
521// Only WIN32 supports wxStatusBar95
522#if !defined(__WIN32__) && wxUSE_NATIVE_STATUSBAR
523#undef wxUSE_NATIVE_STATUSBAR
524#define wxUSE_NATIVE_STATUSBAR 0
525#endif
526
527// Salford C++ doesn't like some of the memory operator definitions
528#ifdef __SALFORDC__
529#undef wxUSE_MEMORY_TRACING
530#define wxUSE_MEMORY_TRACING 0
531
532#undef wxUSE_GLOBAL_MEMORY_OPERATORS
533#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
534
535#undef wxUSE_DEBUG_NEW_ALWAYS
536#define wxUSE_DEBUG_NEW_ALWAYS 0
537
538#undef wxUSE_THREADS
539#define wxUSE_THREADS 0
540
9bd6a503
VZ
541#undef wxUSE_OWNER_DRAWN
542#define wxUSE_OWNER_DRAWN 0
543#endif
544
545#ifdef __TWIN32__
546
547#undef wxUSE_THREADS
548#define wxUSE_THREADS 0
549
9bd6a503
VZ
550#undef wxUSE_ODBC
551#define wxUSE_ODBC 0
552
553#endif
554
448af9a4
JS
555// BC++/Win16 can't cope with the amount of data in resource.cpp
556#if defined(__WIN16__) && defined(__BORLANDC__)
557#undef wxUSE_WX_RESOURCES
558#define wxUSE_WX_RESOURCES 0
154f22b3
JS
559
560#undef wxUSE_ODBC
561#define wxUSE_ODBC 0
448af9a4
JS
562#endif
563
0cdf89ab 564#if defined(__WXMSW__) && defined(__WATCOMC__)
0cdf89ab
JS
565#undef wxUSE_LIBJPEG
566#define wxUSE_LIBJPEG 0
567#endif
568
9bd6a503
VZ
569#if defined(__WXMSW__) && !defined(__WIN32__)
570
8fb3a512
JS
571#undef wxUSE_SOCKETS
572#define wxUSE_SOCKETS 0
573
9bd6a503
VZ
574#undef wxUSE_THREADS
575#define wxUSE_THREADS 0
576
750b78ba
JS
577#undef wxUSE_TOOLTIPS
578#define wxUSE_TOOLTIPS 0
579
0e528b99
JS
580#undef wxUSE_SPINCTRL
581#define wxUSE_SPINCTRL 0
582
583#undef wxUSE_SPINBTN
584#define wxUSE_SPINBTN 0
585
1044a386
JS
586#undef wxUSE_LIBPNG
587#define wxUSE_LIBPNG 0
588
589#undef wxUSE_LIBJPEG
590#define wxUSE_LIBJPEG 0
591
83b1bfaa
GRG
592#undef wxUSE_GIF
593#define wxUSE_GIF 0
1044a386
JS
594
595#undef wxUSE_PNM
596#define wxUSE_PNM 0
597
598#undef wxUSE_PCX
599#define wxUSE_PCX 0
600
9bd6a503
VZ
601#endif
602
9bd6a503
VZ
603#endif
604 // _WX_SETUP_H_