]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/setup.h
wxCheckListBox fixes: crash/memory leak when items are dynamically
[wxWidgets.git] / include / wx / motif / setup.h
CommitLineData
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 23 // Use wxConfig, with CreateConfig in wxApp
98ffbab9
JS
24#define WXWIN_COMPATIBILITY 0
25 // Minor compatibility with 1.68 API.
26 // 1: on 0: off.
9b6dbb09 27
47d67540 28#define wxUSE_POSTSCRIPT 1
9b6dbb09 29 // 0 for no PostScript device context
47d67540 30#define wxUSE_AFM_FOR_POSTSCRIPT 0
9b6dbb09 31 // 1 to use font metric files in GetTextExtent
47d67540 32#define wxUSE_METAFILE 1
9b6dbb09 33 // 0 for no Metafile and metafile device context
47d67540 34#define wxUSE_IPC 1
9b6dbb09 35 // 0 for no interprocess comms
47d67540 36#define wxUSE_HELP 1
9b6dbb09 37 // 0 for no help facility
47d67540 38#define wxUSE_RESOURCES 1
9b6dbb09 39 // 0 for no wxGetResource/wxWriteResource
47d67540 40#define wxUSE_CLIPBOARD 1
9b6dbb09 41 // 0 for no clipboard functions
47d67540 42#define wxUSE_SPLINES 1
9b6dbb09 43 // 0 for no splines
47d67540 44#define wxUSE_XFIG_SPLINE_CODE 1
9b6dbb09
JS
45 // 1 for XFIG spline code, 0 for AIAI spline code.
46// AIAI spline code is slower, but freer of copyright issues.
47 // 0 for no splines
48
a4294b78
JS
49#define wxUSE_XPM 1
50 // Use XPMs
51
52#define wxUSE_TOOLBAR 1
89c7e962 53 // Use toolbars
a4294b78 54#define wxUSE_COMBOBOX 1
89c7e962 55 // Use wxComboBox
47d67540 56#define wxUSE_DRAG_AND_DROP 1
9b6dbb09
JS
57 // 0 for no drag and drop
58
47d67540 59#define wxUSE_WX_RESOURCES 1
9b6dbb09
JS
60 // Use .wxr resource mechanism (requires PrologIO library)
61
47d67540 62#define wxUSE_DOC_VIEW_ARCHITECTURE 1
9b6dbb09 63 // Set to 0 to disable document/view architecture
47d67540 64#define wxUSE_PRINTING_ARCHITECTURE 1
9b6dbb09 65 // Set to 0 to disable print/preview architecture code
47d67540 66#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
9b6dbb09
JS
67 // Set to 0 to disable PostScript print/preview architecture code
68 // under Windows (just use Windows printing).
47d67540 69#define wxUSE_DYNAMIC_CLASSES 1
9b6dbb09
JS
70 // If 1, enables provision of run-time type information.
71 // NOW MANDATORY: don't change.
47d67540 72#define wxUSE_MEMORY_TRACING 1
9b6dbb09 73 // If 1, enables debugging versions of wxObject::new and
7fe7d506 74 // wxObject::delete *IF* __WXDEBUG__ is also defined.
9b6dbb09
JS
75 // WARNING: this code may not work with all architectures, especially
76 // if alignment is an issue.
47d67540 77#define wxUSE_DEBUG_CONTEXT 1
9b6dbb09
JS
78 // If 1, enables wxDebugContext, for
79 // writing error messages to file, etc.
80 // If WXDEBUG is not defined, will still use
81 // normal memory operators.
82 // It's recommended to set this to 1,
83 // since you may well need to output
84 // an error log in a production
85 // version (or non-debugging beta)
7fe7d506
JS
86
87#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
9b6dbb09
JS
88 // In debug mode, cause new and delete to be redefined globally.
89 // If this causes problems (e.g. link errors), set this to 0.
7fe7d506
JS
90
91#define wxUSE_DEBUG_NEW_ALWAYS 1
92 // In debug mode, causes new to be defined to
93 // be WXDEBUG_NEW (see object.h).
94 // If this causes problems (e.g. link errors), set this to 0.
9b6dbb09
JS
95
96#define REMOVE_UNUSED_ARG 1
97 // Set this to 0 if your compiler can't cope
98 // with omission of prototype parameters.
99
47d67540 100#define wxUSE_C_MAIN 0
9b6dbb09
JS
101 // Set to 1 to use main.c instead of main.cpp (UNIX only)
102
47d67540 103#define wxUSE_ODBC 0
9b6dbb09
JS
104 // Define 1 to use ODBC classes
105
47d67540 106#define wxUSE_IOSTREAMH 1
9b6dbb09
JS
107 // VC++ 4.2 and above allows <iostream> and <iostream.h>
108 // but you can't mix them. Set to 1 for <iostream.h>,
109 // 0 for <iostream>
110
47d67540 111#define wxUSE_WXCONFIG 1
9b6dbb09
JS
112 // if enabled, compiles built-in OS independent wxConfig
113 // class and it's file (any platform) and registry (Win)
114 // based implementations
a4294b78
JS
115
116#define wxUSE_GADGETS 0
117 // Use gadgets where possible
118
7fe7d506
JS
119#define wxUSE_TIMEDATE 1
120 // Use time and date
b412f9be
JS
121
122#define wxUSE_THREADS 0
123 // Use threads
124
124031d5
JS
125#define wxUSE_ZLIB 1
126 // Use zlib for compression in streams and PNG code
127#define wxUSE_LIBPNG 1
128 // Use PNG bitmap code
4bf78aae
JS
129#define wxUSE_STD_IOSTREAM 1
130 // Use standard C++ streams if 1. If 0, use wxWin
131 // streams implementation.
bf38cbff
JS
132#define wxUSE_STREAMS 1
133 // Use wxStream implementation within wxWindows code
134
9838df2c 135#define wxUSE_SERIAL 0
d4ec5d32 136 // Use serialization (requires utils/serialize)
9838df2c 137
98ffbab9
JS
138#define wxUSE_TOOLTIPS 0
139 // Use tooltips
140
ad813b00
JS
141#define wxUSE_DYNLIB_CLASS 0
142 // Use wxLibrary
143
9b6dbb09
JS
144/*
145 * Finer detail
146 *
147 */
148
47d67540 149#define wxUSE_APPLE_IEEE 1
9b6dbb09
JS
150 // if enabled, the float codec written by Apple
151 // will be used to write, in a portable way,
152 // float on the disk
153
154#endif
155 // _WX_SETUP_H_