]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/setup0.h
file I forgot to commit with other "filedlg.h"s
[wxWidgets.git] / include / wx / msw / setup0.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: setup.h
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
15 /*
16 * General features
17 *
18 */
19
20 #define wxUSE_CONFIG 1
21 // Use wxConfig, with CreateConfig in wxApp
22 #define _WX_GOODCOMPILER__
23 // gcc can have problems, but Windows compilers
24 // are generally OK.
25 #define WXWIN_COMPATIBILITY 0
26 // Compatibility with 1.68 API.
27 // Level 0: no backward compatibility, all new features
28 // Level 1: Some compatibility. In fact
29 // the compatibility code is now very minimal so there
30 // is little advantage to setting it to 1.
31
32 #define wxUSE_AUTOTRANS 1
33 // Define wxTString
34 #define wxUSE_POSTSCRIPT 0
35 // 0 for no PostScript device context
36 #define wxUSE_AFM_FOR_POSTSCRIPT 0
37 // 1 to use font metric files in GetTextExtent
38 #define wxUSE_METAFILE 1
39 // 0 for no Metafile and metafile device context
40 #define wxUSE_FORM 0
41 // 0 for no wxForm
42 #define wxUSE_IPC 1
43 // 0 for no interprocess comms
44 // Note: wxHELP uses IPC under X so these are interdependent!
45 #define wxUSE_HELP 1
46 // 0 for no help facility
47 #define wxUSE_RESOURCES 1
48 // 0 for no wxGetResource/wxWriteResource
49 #define wxUSE_CONSTRAINTS 1
50 // 0 for no window layout constraint system
51
52 #define wxUSE_TIMEDATE 1
53 // 0 for no wxTime/wxDate classes
54
55 #define wxUSE_CLIPBOARD 1
56 // 0 for no clipboard functions
57 #define wxUSE_SPLINES 1
58 // 0 for no splines
59 #define wxUSE_XFIG_SPLINE_CODE 1
60 // 1 for XFIG spline code, 0 for AIAI spline code.
61 // AIAI spline code is slower, but freer of copyright issues.
62
63 #define wxUSE_DRAG_AND_DROP 1
64 // 0 for no drag and drop
65
66 #define wxUSE_TOOLBAR 1
67 // Define 1 to use toolbar classes
68 #define wxUSE_BUTTONBAR 1
69 // Define 1 to use buttonbar classes (enhanced toolbar
70 // for MS Windows)
71 #define wxUSE_GAUGE 1
72 // Define 1 to use Microsoft's gauge (Windows)
73 // or Bull's gauge (Motif) library (both in contrib).
74 #define wxUSE_COMBOBOX 1
75 // Define 1 to use COMBOXBOX control (Windows)
76 // or FWW's ComboBox widget (Motif).
77 #define wxUSE_RADIOBUTTON 1
78 // Define 1 to use radio button control
79
80 #define wxUSE_SCROLLBAR 1
81 // Define 1 to compile contributed wxScrollBar class
82 #define wxUSE_XPM_IN_MSW 1
83 // Define 1 to support the XPM package in wxBitmap.
84 #define wxUSE_IMAGE_LOADING_IN_MSW 1
85 // Use dynamic DIB loading/saving code in utils/dib under MSW.
86 #define wxUSE_RESOURCE_LOADING_IN_MSW 1
87 // Use dynamic icon/cursor loading/saving code
88 // under MSW.
89 #define wxUSE_WX_RESOURCES 1
90 // Use .wxr resource mechanism (requires PrologIO library)
91
92 // BC++/Win16 can't cope with the amount of data in resource.cpp
93 #if defined(__WIN16__) && defined(__BORLANDC__)
94 #undef wxUSE_WX_RESOURCES
95 #define wxUSE_WX_RESOURCES 0
96 #endif
97
98 #define HAVE_SOCKET 1
99 // Use WinSock if 1
100 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
101 // Set to 0 to disable document/view architecture
102 #define wxUSE_PRINTING_ARCHITECTURE 1
103 // Set to 0 to disable print/preview architecture code
104 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
105 // Set to 0 to disable PostScript print/preview architecture code
106 // under Windows (just use Windows printing).
107 #define wxUSE_DYNAMIC_CLASSES 1
108 // If 1, enables provision of run-time type information.
109 // NOW MANDATORY: don't change.
110 #define wxUSE_MEMORY_TRACING 1
111 // If 1, enables debugging versions of wxObject::new and
112 // wxObject::delete *IF* __WXDEBUG__ is also defined.
113 // WARNING: this code may not work with all architectures, especially
114 // if alignment is an issue.
115 #define wxUSE_DEBUG_CONTEXT 1
116 // If 1, enables wxDebugContext, for
117 // writing error messages to file, etc.
118 // If __WXDEBUG__ is not defined, will still use
119 // normal memory operators.
120 // It's recommended to set this to 1,
121 // since you may well need to output
122 // an error log in a production
123 // version (or non-debugging beta)
124 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
125 // In debug mode, cause new and delete to be redefined globally.
126 // If this causes problems (e.g. link errors), set this to 0.
127
128 #define wxUSE_DEBUG_NEW_ALWAYS 1
129 // In debug mode, causes new to be defined to
130 // be WXDEBUG_NEW (see object.h).
131 // If this causes problems (e.g. link errors), set this to 0.
132 // You may need to set this to 0 if using templates (at least
133 // for VC++).
134
135 #define REMOVE_UNUSED_ARG 1
136 // Set this to 0 if your compiler can't cope
137 // with omission of prototype parameters.
138
139 #define wxUSE_ODBC 1
140 // Define 1 to use ODBC classes
141
142 #ifndef __MWERKS__
143 #define wxUSE_IOSTREAMH 1
144 #else
145 #define wxUSE_IOSTREAMH 0
146 #endif
147 // VC++ 4.2 and above allows <iostream> and <iostream.h>
148 // but you can't mix them. Set to 1 for <iostream.h>,
149 // 0 for <iostream>
150
151 #define wxUSE_WXCONFIG 1
152 // if enabled, compiles built-in OS independent wxConfig
153 // class and it's file (any platform) and registry (Win)
154 // based implementations
155 #define wxUSE_THREADS 1
156 // support for multithreaded applications: if
157 // 1, compile in thread classes (thread.h)
158 // and make the library thread safe
159 #define wxUSE_ZLIB 1
160 // Use zlib for compression in streams and PNG code
161 #define wxUSE_LIBPNG 1
162 // Use PNG bitmap code
163 #define wxUSE_STD_IOSTREAM 1
164 // Use standard C++ streams if 1. If 0, use wxWin
165 // streams implementation.
166
167 #define wxUSE_TOOLTIPS 1
168 // Define to use wxToolTip class and
169 // wxWindow::SetToolTip() method
170
171 /*
172 * Finer detail
173 *
174 */
175
176 #define wxUSE_APPLE_IEEE 1
177 // if enabled, the float codec written by Apple
178 // will be used to write, in a portable way,
179 // float on the disk
180
181 /*
182 * MS Windows/Windows NT
183 *
184 */
185
186 #if defined(__WIN95__)
187 #define CTL3D 0
188 #else
189 #define CTL3D 1
190 // Define 1 to use Microsoft CTL3D library.
191 // See note above about using FAFA and CTL3D.
192 #endif
193
194 #define wxUSE_COMMON_DIALOGS 1
195 // On rare occasions (e.g. using DJGPP) may want
196 // to omit common dialogs
197 // (e.g. file selector, printer dialog).
198 // Switching this off also switches off
199 // the printing architecture and interactive
200 // wxPrinterDC.
201 #define wxUSE_ITSY_BITSY 1
202 // Define 1 to use Microsoft's ItsyBitsy
203 // small title bar library, for wxMiniFrame
204 #define wxUSE_BITMAP_MESSAGE 1
205 // Define 1 to use bitmap messages.
206 #define wxUSE_PORTABLE_FONTS_IN_MSW 0
207 // Define 1 to use new portable font scheme in Windows
208 // (used by default under X)
209 #define FONT_SIZE_COMPATIBILITY 0
210 // Define 1 for font size to be backward compatible
211 // to 1.63 and earlier. 1.64 and later define point
212 // sizes to be compatible with Windows.
213 #define wxUSE_GENERIC_DIALOGS_IN_MSW 1
214 // Define 1 to use generic dialogs in Windows, even though
215 // they duplicate native common dialog (e.g. wxColourDialog)
216 #define wxUSE_PENWINDOWS 0
217 // Set to 1 to use PenWindows
218
219 #define wxUSE_OWNER_DRAWN 1
220 // Owner-drawn menus and listboxes
221
222 #define wxUSE_NATIVE_STATUSBAR 1
223 // Set to 0 to use cross-platform wxStatusBar
224 #define wxUSE_DBWIN32 1
225 // Use Andrew Tucker's OutputDebugString implementation
226 // (required on Win95 only). See utils.cpp.
227
228 /*
229 * Any platform
230 *
231 */
232
233 #define wxUSE_TYPEDEFS 0
234 // Use typedefs not classes for wxPoint
235 // and others, to reduce overhead and avoid
236 // MS C7 memory bug. Bounds checker
237 // complains about deallocating
238 // arrays of wxPoints if wxPoint is a class.
239
240 #if (!defined(WIN32) && !defined(__WIN32__)) || defined(__GNUWIN32__) || defined(__BORLANDC__)
241 // Can't use OLE drag and drop in Windows 3.1 because we don't know how
242 // to implement UUIDs
243 // GnuWin32 doesn't have appropriate headers for e.g. IUnknown.
244 #undef wxUSE_DRAG_AND_DROP
245 #define wxUSE_DRAG_AND_DROP 0
246 #endif
247
248 // Only WIN32 supports wxStatusBar95
249 #if !defined(__WIN32__) && wxUSE_NATIVE_STATUSBAR
250 #undef wxUSE_NATIVE_STATUSBAR
251 #define wxUSE_NATIVE_STATUSBAR 0
252 #endif
253
254 // Salford C++ doesn't like some of the memory operator definitions
255 #ifdef __SALFORDC__
256 #undef wxUSE_MEMORY_TRACING
257 #define wxUSE_MEMORY_TRACING 0
258
259 #undef wxUSE_GLOBAL_MEMORY_OPERATORS
260 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
261
262 #undef wxUSE_DEBUG_NEW_ALWAYS
263 #define wxUSE_DEBUG_NEW_ALWAYS 0
264
265 #undef wxUSE_THREADS
266 #define wxUSE_THREADS 0
267
268 #undef wxUSE_DBWIN32
269 #define wxUSE_DBWIN32 0
270
271 #undef wxUSE_OWNER_DRAWN
272 #define wxUSE_OWNER_DRAWN 0
273 #endif
274
275 #ifdef __TWIN32__
276
277 #undef wxUSE_THREADS
278 #define wxUSE_THREADS 0
279
280 #undef wxUSE_DBWIN32
281 #define wxUSE_DBWIN32 0
282
283 #undef wxUSE_ODBC
284 #define wxUSE_ODBC 0
285
286 #endif
287
288 #if defined(__WXMSW__) && !defined(__WIN32__)
289
290 #undef wxUSE_THREADS
291 #define wxUSE_THREADS 0
292
293 #endif
294
295 // Minimal setup e.g. for compiling small utilities
296 #define MINIMAL_WXWINDOWS_SETUP 0
297
298 #if MINIMAL_WXWINDOWS_SETUP
299 #undef wxUSE_POSTSCRIPT
300 # define wxUSE_POSTSCRIPT 0
301 #undef wxUSE_PRINTING_ARCHITECTURE
302 # define wxUSE_PRINTING_ARCHITECTURE 0
303 #undef wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
304 # define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
305 #undef wxUSE_METAFILE
306 # define wxUSE_METAFILE 0
307 #undef wxUSE_FORM
308 # define wxUSE_FORM 0
309 #undef wxUSE_SPLINES
310 # define wxUSE_SPLINES 0
311 #undef wxUSE_SCROLLBAR
312 # define wxUSE_SCROLLBAR 0
313 #undef wxUSE_COMBOBOX
314 # define wxUSE_COMBOBOX 0
315 #undef wxUSE_RADIOBUTTON
316 # define wxUSE_RADIOBUTTON 0
317 #undef wxUSE_XPM_IN_MSW
318 # define wxUSE_XPM_IN_MSW 0
319 #undef wxUSE_WX_RESOURCES
320 # define wxUSE_WX_RESOURCES 0
321 #undef wxUSE_DOC_VIEW_ARCHITECTURE
322 # define wxUSE_DOC_VIEW_ARCHITECTURE 0
323 #undef wxUSE_GNU_WXSTRING
324 # define wxUSE_GNU_WXSTRING 0
325 #undef wxUSE_ODBC
326 # define wxUSE_ODBC 0
327 #undef wxUSE_TIMEDATE
328 # define wxUSE_TIMEDATE 0
329 #undef CTL3D
330 # define CTL3D 0
331 #undef wxUSE_ITSY_BITSY
332 # define wxUSE_ITSY_BITSY 0
333 #undef wxUSE_IMAGE_LOADING_IN_MSW
334 # define wxUSE_IMAGE_LOADING_IN_MSW 0
335 #undef wxUSE_GAUGE
336 # define wxUSE_GAUGE 0
337 #undef wxUSE_RESOURCE_LOADING_IN_MSW
338 # define wxUSE_RESOURCE_LOADING_IN_MSW 0
339 #undef wxUSE_DRAG_AND_DROP
340 # define wxUSE_DRAG_AND_DROP 0
341 #endif
342
343 #endif
344 // _WX_SETUP_H_