]> git.saurik.com Git - wxWidgets.git/blob - include/wx/stubs/setup.h
More mostly cross compiling related mods..
[wxWidgets.git] / include / wx / stubs / setup.h
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 */
19
20 #define wxUSE_CONSTRAINTS 1
21 // Use constraints mechanism
22 #define wxUSE_CONFIG 1
23 // Use wxConfig, with CreateConfig in wxApp
24 #define _WX_GOODCOMPILER__
25 // gcc can have problems, but Windows compilers
26 // are generally OK.
27 #define WXWIN_COMPATIBILITY 1
28 // Compatibility with 1.66 API.
29 // Level 0: no backward compatibility, all new features
30 // Level 1: wxDC, OnSize (etc.) compatibility, but
31 // some new features such as event tables
32
33 #define wxUSE_POSTSCRIPT 1
34 // 0 for no PostScript device context
35 #define wxUSE_AFM_FOR_POSTSCRIPT 0
36 // 1 to use font metric files in GetTextExtent
37 #define wxUSE_METAFILE 1
38 // 0 for no Metafile and metafile device context
39 #define wxUSE_IPC 1
40 // 0 for no interprocess comms
41 #define wxUSE_HELP 1
42 // 0 for no help facility
43 #define wxUSE_RESOURCES 1
44 // 0 for no wxGetResource/wxWriteResource
45 #define wxUSE_CLIPBOARD 1
46 // 0 for no clipboard functions
47 #define wxUSE_SPLINES 1
48 // 0 for no splines
49 #define wxUSE_XFIG_SPLINE_CODE 1
50 // 1 for XFIG spline code, 0 for AIAI spline code.
51 // AIAI spline code is slower, but freer of copyright issues.
52 // 0 for no splines
53
54 #define wxUSE_TOOLBAR 1
55 // Use toolbars
56 #define wxUSE_DRAG_AND_DROP 1
57 // 0 for no drag and drop
58
59 #define wxUSE_WX_RESOURCES 1
60 // Use .wxr resource mechanism (requires PrologIO library)
61
62 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
63 // Set to 0 to disable document/view architecture
64 #define wxUSE_PRINTING_ARCHITECTURE 1
65 // Set to 0 to disable print/preview architecture code
66 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
67 // Set to 0 to disable PostScript print/preview architecture code
68 // under Windows (just use Windows printing).
69 #define wxUSE_DYNAMIC_CLASSES 1
70 // If 1, enables provision of run-time type information.
71 // NOW MANDATORY: don't change.
72 #define wxUSE_MEMORY_TRACING 1
73 // If 1, enables debugging versions of wxObject::new and
74 // wxObject::delete *IF* WXDEBUG is also defined.
75 // WARNING: this code may not work with all architectures, especially
76 // if alignment is an issue.
77 #define wxUSE_DEBUG_CONTEXT 1
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)
86 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
87 // In debug mode, cause new and delete to be redefined globally.
88 // If this causes problems (e.g. link errors), set this to 0.
89
90 #define wxUSE_DEBUG_NEW_ALWAYS 1
91 // In debug mode, causes new to be defined to
92 // be WXDEBUG_NEW (see object.h).
93 // If this causes problems (e.g. link errors), set this to 0.
94
95 #define REMOVE_UNUSED_ARG 1
96 // Set this to 0 if your compiler can't cope
97 // with omission of prototype parameters.
98
99 #define wxUSE_C_MAIN 0
100 // Set to 1 to use main.c instead of main.cpp (UNIX only)
101
102 #define wxUSE_ODBC 0
103 // Define 1 to use ODBC classes
104
105 #define wxODBC_FWD_ONLY_CURSORS 1
106 // For backward compatibility reasons, this parameter now only
107 // controls the default scrolling method used by cursors. This
108 // default behavior can be overriden by setting the second param
109 // of wxDB::GetDbConnection() to indicate whether the connection
110 // (and any wxTable()s that use the connection) should support
111 // forward only scrolling of cursors, or both forward and backward
112 // Support for backward scrolling cursors is dependent on the
113 // data source as well as the ODBC driver being used.
114
115 #define wxODBC_BACKWARD_COMPATABILITY 0
116 // Default is 0. Set to 1 to use the deprecated classes, enum
117 // types, function, member variables. With a setting of 1, full
118 // backward compatability with the 2.0.x release is possible.
119 // It is STRONGLY recommended that this be set to 0, as
120 // future development will be done only on the non-deprecated
121 // functions/classes/member variables/etc.
122
123 #define wxUSE_IOSTREAMH 1
124 // VC++ 4.2 and above allows <iostream> and <iostream.h>
125 // but you can't mix them. Set to 1 for <iostream.h>,
126 // 0 for <iostream>
127
128 #define wxUSE_WXCONFIG 1
129 // if enabled, compiles built-in OS independent wxConfig
130 // class and it's file (any platform) and registry (Win)
131 // based implementations
132 #define wxUSE_TIMEDATE 1
133 // Use time and date
134 #define wxUSE_THREADS 0
135 // Use threads
136
137 #define wxUSE_ZLIB 1
138 // Use zlib for compression in streams and PNG code
139 #define wxUSE_LIBPNG 1
140 // Use PNG bitmap code
141 #define wxUSE_LIBPNG 0
142 // Use JPEG bitmap code
143 #define wxUSE_LIBGIF 0
144 // Use GIF bitmap code
145 #define wxUSE_STD_IOSTREAM 1
146 // Use standard C++ streams if 1. If 0, use wxWin
147 // streams implementation.
148
149 #define wxUSE_SERIAL 0
150 // Use serialization
151
152 #define wxUSE_TOOLTIPS 0
153 // Use tooltips
154
155 #define wxUSE_DYNLIB_CLASS 0
156 // Use wxLibrary
157 #define wxUSE_SOCKETS 1
158 // Set to 1 to use socket classes
159 /*
160 * Finer detail
161 *
162 */
163
164 #define wxUSE_APPLE_IEEE 1
165 // if enabled, the float codec written by Apple
166 // will be used to write, in a portable way,
167 // float on the disk
168
169 #endif
170 // _WX_SETUP_H_