]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/setup.h
<br><br><br> is now handled correctly, e.g. empty lines are inserted (unlike <p>...
[wxWidgets.git] / include / wx / mac / setup.h
CommitLineData
0dbd6262
SC
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 */
e7549107 19
0dbd6262
SC
20#define wxUSE_CONFIG 1
21 // Use wxConfig, with CreateConfig in wxApp
e7549107 22
519cb848 23#define WXWIN_COMPATIBILITY 0
0dbd6262
SC
24 // Compatibility with 1.66 API.
25 // Level 0: no backward compatibility, all new features
26 // Level 1: wxDC, OnSize (etc.) compatibility, but
27 // some new features such as event tables
8be97d65 28#define wxUSE_POSTSCRIPT 0
0dbd6262
SC
29 // 0 for no PostScript device context
30#define wxUSE_AFM_FOR_POSTSCRIPT 0
31 // 1 to use font metric files in GetTextExtent
519cb848 32#define wxUSE_METAFILE 1
0dbd6262 33 // 0 for no Metafile and metafile device context
8be97d65 34#define wxUSE_IPC 0
0dbd6262 35 // 0 for no interprocess comms
8be97d65 36#define wxUSE_HELP 0
0dbd6262 37 // 0 for no help facility
519cb848 38#define wxUSE_RESOURCES 1
0dbd6262 39 // 0 for no wxGetResource/wxWriteResource
e7549107
SC
40#define wxUSE_CONSTRAINTS 1
41 // Use constraints mechanism
42#define wxUSE_TIMEDATE 1
43 // 0 for no wxTime/wxDate classes
44
519cb848 45#define wxUSE_CLIPBOARD 1
e7549107
SC
46 // 0 for no clipboard functions
47
48#define wxUSE_SPLINES 1
49 // 0 for no splines
50
8be97d65 51#define wxUSE_DRAG_AND_DROP 0
e7549107
SC
52 // 0 for no drag and drop
53
54#define wxUSE_TOOLBAR 1
55 // Define 1 to use toolbar classes
56#define wxUSE_BUTTONBAR 1
57 // Define 1 to use buttonbar classes (enhanced toolbar
58 // for MS Windows)
59#define wxUSE_GAUGE 1
60 // Define 1 to use Microsoft's gauge (Windows)
61 // or Bull's gauge (Motif) library (both in contrib).
62#define wxUSE_COMBOBOX 1
63 // Define 1 to use COMBOXBOX control (Windows)
64 // or FWW's ComboBox widget (Motif).
65#define wxUSE_CHOICE 1
66 // Define 1 to use CHOICE
67
68#define wxUSE_RADIOBUTTON 1
69 // Define 1 to use radio button control
70#define wxUSE_RADIOBTN 1
71 // Unfortunately someone introduced this one, too
72
73#define wxUSE_SCROLLBAR 1
74 // Define 1 to compile contributed wxScrollBar class
75
76#define wxUSE_CHECKBOX 1
77 // Define 1 to compile checkbox
78
79#define wxUSE_LISTBOX 1
80 // Define 1 to compile listbox
81
82#define wxUSE_SPINBTN 1
83 // Define 1 to compile spin button
84
85// use wxStaticLine class (separator line in the dialog)?
86#define wxUSE_STATLINE 1
0dbd6262 87
e7549107
SC
88#define wxUSE_CHECKLISTBOX 1
89 // Define 1 to compile check listbox
90
91#define wxUSE_CHOICE 1
92 // Define 1 to compile choice
93
94#define wxUSE_CARET 1
95 // Define 1 to use wxCaret class
96#define wxUSE_XPM_IN_MSW 1
97 // Define 1 to support the XPM package in wxBitmap.
98#define wxUSE_IMAGE_LOADING_IN_MSW 1
99 // Use dynamic DIB loading/saving code in utils/dib under MSW.
100#define wxUSE_RESOURCE_LOADING_IN_MSW 1
101 // Use dynamic icon/cursor loading/saving code
102 // under MSW.
519cb848 103#define wxUSE_WX_RESOURCES 1
0dbd6262
SC
104 // Use .wxr resource mechanism (requires PrologIO library)
105
e7549107
SC
106// support for startup tips (wxShowTip &c)
107#define wxUSE_STARTUP_TIPS 1
108
109// BC++/Win16 can't cope with the amount of data in resource.cpp
110#if defined(__WIN16__) && defined(__BORLANDC__)
111#undef wxUSE_WX_RESOURCES
112#define wxUSE_WX_RESOURCES 0
113#endif
114
0dbd6262
SC
115#define wxUSE_DOC_VIEW_ARCHITECTURE 1
116 // Set to 0 to disable document/view architecture
e7549107
SC
117#define wxUSE_MDI_ARCHITECTURE 1
118 // Set to 0 to disable MDI document/view architecture
519cb848 119#define wxUSE_PRINTING_ARCHITECTURE 1
0dbd6262 120 // Set to 0 to disable print/preview architecture code
e7549107 121#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
0dbd6262
SC
122 // Set to 0 to disable PostScript print/preview architecture code
123 // under Windows (just use Windows printing).
124#define wxUSE_DYNAMIC_CLASSES 1
125 // If 1, enables provision of run-time type information.
126 // NOW MANDATORY: don't change.
127#define wxUSE_MEMORY_TRACING 1
128 // If 1, enables debugging versions of wxObject::new and
e7549107 129 // wxObject::delete *IF* __WXDEBUG__ is also defined.
0dbd6262
SC
130 // WARNING: this code may not work with all architectures, especially
131 // if alignment is an issue.
132#define wxUSE_DEBUG_CONTEXT 1
133 // If 1, enables wxDebugContext, for
134 // writing error messages to file, etc.
e7549107 135 // If __WXDEBUG__ is not defined, will still use
0dbd6262
SC
136 // normal memory operators.
137 // It's recommended to set this to 1,
138 // since you may well need to output
139 // an error log in a production
140 // version (or non-debugging beta)
e7549107 141#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
0dbd6262
SC
142 // In debug mode, cause new and delete to be redefined globally.
143 // If this causes problems (e.g. link errors), set this to 0.
144
145#define wxUSE_DEBUG_NEW_ALWAYS 1
146 // In debug mode, causes new to be defined to
147 // be WXDEBUG_NEW (see object.h).
148 // If this causes problems (e.g. link errors), set this to 0.
e7549107
SC
149 // You may need to set this to 0 if using templates (at least
150 // for VC++).
0dbd6262
SC
151
152#define REMOVE_UNUSED_ARG 1
153 // Set this to 0 if your compiler can't cope
154 // with omission of prototype parameters.
155
e7549107
SC
156#define wxUSE_ODBC 1
157 // Define 1 to use ODBC classes
0dbd6262 158
9695185a
GT
159
160#define wxODBC_FWD_ONLY_CURSORS 1
161 // Some databases/ODBC drivers only allow forward scrolling cursors.
162 // Unless you specifically want to use backward scrolling
163 // cursors, and you know that all of the databases/ODBC drivers
164 // that you will use these odbc classes with allow backward
165 // scrolling cursors, this setting should remain set to 1
166 // for maximum database/driver compatibilty
167
168
0dbd6262 169
e7549107 170#ifndef __MWERKS__
0dbd6262 171#define wxUSE_IOSTREAMH 0
e7549107
SC
172#else
173#define wxUSE_IOSTREAMH 1
174#endif
0dbd6262
SC
175 // VC++ 4.2 and above allows <iostream> and <iostream.h>
176 // but you can't mix them. Set to 1 for <iostream.h>,
177 // 0 for <iostream>
178
519cb848
SC
179#define wxUSE_STREAMS 1
180 // If enabled (1), compiles wxWindows streams classes
181
182#define wxUSE_STD_IOSTREAM 1
183 // Use standard C++ streams if 1. If 0, use wxWin
184 // streams implementation.
e7549107
SC
185
186#define wxUSE_WXCONFIG 1
0dbd6262
SC
187 // if enabled, compiles built-in OS independent wxConfig
188 // class and it's file (any platform) and registry (Win)
189 // based implementations
51abe921 190#define wxUSE_THREADS 0
e7549107
SC
191 // support for multithreaded applications: if
192 // 1, compile in thread classes (thread.h)
193 // and make the library thread safe
194#define wxUSE_ZLIB 1
195 // Use zlib for compression in streams and PNG code
196#define wxUSE_LIBPNG 1
197 // Use PNG bitmap code
198#define wxUSE_LIBJPEG 0
199 // Use JPEG bitmap code
200#define wxUSE_SERIAL 0
201 // Use serialization (requires utils/serialize)
202#define wxUSE_DYNLIB_CLASS 0
203 // Compile in wxLibrary class for run-time
204 // DLL loading and function calling
205#define wxUSE_TOOLTIPS 1
206 // Define to use wxToolTip class and
207 // wxWindow::SetToolTip() method
51abe921 208#define wxUSE_SOCKETS 0 // 0
e7549107
SC
209 // Set to 1 to use socket classes
210#define wxUSE_HTML 1 // 0
211 // Set to 1 to use wxHTML sub-library
212#define wxUSE_FS_ZIP 1 // 0
213#define wxUSE_FS_INET 1 // 0 // Set to 1 to enable virtual file systems
214
215#define wxUSE_BUSYINFO 1 // 0
216 // wxBusyInfo displays window with message
217 // when app is busy. Works in same way as
218 // wxBusyCursor
219#define wxUSE_ZIPSTREAM 1 // 0
220 // input stream for reading from zip archives
221
0dbd6262
SC
222/*
223 * Finer detail
224 *
225 */
226
e7549107
SC
227#define wxUSE_APPLE_IEEE 1
228 // if enabled, the float codec written by Apple
229 // will be used to write, in a portable way,
230 // float on the disk
0dbd6262 231
519cb848
SC
232// use wxFile class - required by i18n code, wxConfig and others - recommended
233#define wxUSE_FILE 1
234
235// use wxTextFile class: requires wxFile, required by wxConfig
236#define wxUSE_TEXTFILE 1
237
238// i18n support: _() macro, wxLocale class. Requires wxFile
239#define wxUSE_INTL 1
240
241// wxLogXXX functions - highly recommended
242#define wxUSE_LOG 1
243
244// wxValidator class
245#define wxUSE_VALIDATORS 1
246
247// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
248#define wxUSE_ACCEL 1
249
250// wxSashWindow class
251#define wxUSE_SASH 1
252
253// text entry dialog and wxGetTextFromUser function
254#define wxUSE_TEXTDLG 1
255
519cb848
SC
256// wxToolBar class
257#define wxUSE_TOOLBAR 1
258
259// wxStatusBar class
260#define wxUSE_STATUSBAR 1
261
262// progress dialog class for lengthy operations
263#define wxUSE_PROGRESSDLG 1
264
265// wxDirDlg class for getting a directory name from user
266#define wxUSE_DIRDLG 1
267
e7549107
SC
268/*
269 * MS Windows/Windows NT
270 *
271 */
272
273#define wxUSE_OLE 1
274 // drag-and-drop, clipboard, OLE Automation
275
276#if defined(__WIN95__)
277#define wxUSE_CTL3D 0
278#else
279#define wxUSE_CTL3D 1
280 // Define 1 to use Microsoft CTL3D library.
281 // See note above about using FAFA and CTL3D.
282#endif
283
284#define wxUSE_COMMON_DIALOGS 1
285 // On rare occasions (e.g. using DJGPP) may want
286 // to omit common dialogs
287 // (e.g. file selector, printer dialog).
288 // Switching this off also switches off
289 // the printing architecture and interactive
290 // wxPrinterDC.
291#define wxUSE_ITSY_BITSY 1
292 // Define 1 to use Microsoft's ItsyBitsy
293 // small title bar library, for wxMiniFrame
294#define wxUSE_BITMAP_MESSAGE 1
295 // Define 1 to use bitmap messages.
296#define wxUSE_PORTABLE_FONTS_IN_MSW 0
297 // Define 1 to use new portable font scheme in Windows
298 // (used by default under X)
299#define wxFONT_SIZE_COMPATIBILITY 0
300 // Define 1 for font size to be backward compatible
301 // to 1.63 and earlier. 1.64 and later define point
302 // sizes to be compatible with Windows.
303#define wxUSE_GENERIC_DIALOGS_IN_MSW 1
304 // Define 1 to use generic dialogs in Windows, even though
305 // they duplicate native common dialog (e.g. wxColourDialog)
306#define wxUSE_PENWINDOWS 0
307 // Set to 1 to use PenWindows
308
51abe921 309#define wxUSE_OWNER_DRAWN 0
e7549107
SC
310 // Owner-drawn menus and listboxes
311
312#define wxUSE_NATIVE_STATUSBAR 1
313 // Set to 0 to use cross-platform wxStatusBar
314#define wxUSE_DBWIN32 1
315 // Use Andrew Tucker's OutputDebugString implementation
316 // (required on Win95 only). See utils.cpp.
317
318/*
319 * Any platform
320 *
321 */
322
323#define wxUSE_TYPEDEFS 1
324 // Use typedefs not classes for wxPoint
325 // and others, to reduce overhead and avoid
326 // MS C7 memory bug. Bounds checker
327 // complains about deallocating
328 // arrays of wxPoints if wxPoint is a class.
329
330
0dbd6262
SC
331#endif
332 // _WX_SETUP_H_