]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/setup.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Configuration for the library
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
20 #define wxUSE_CONFIG 1
21 // Use wxConfig, with CreateConfig in wxApp
23 #define WXWIN_COMPATIBILITY 0
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
28 #define wxUSE_POSTSCRIPT 0
29 // 0 for no PostScript device context
30 #define wxUSE_AFM_FOR_POSTSCRIPT 0
31 // 1 to use font metric files in GetTextExtent
32 #define wxUSE_METAFILE 1
33 // 0 for no Metafile and metafile device context
35 // 0 for no interprocess comms
37 // 0 for no help facility
38 #define wxUSE_RESOURCES 1
39 // 0 for no wxGetResource/wxWriteResource
40 #define wxUSE_CONSTRAINTS 1
41 // Use constraints mechanism
42 #define wxUSE_TIMEDATE 1
43 // 0 for no wxTime/wxDate classes
45 #define wxUSE_CLIPBOARD 1
46 // 0 for no clipboard functions
48 #define wxUSE_SPLINES 1
51 #define wxUSE_DRAG_AND_DROP 0
52 // 0 for no drag and drop
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
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
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
73 #define wxUSE_SCROLLBAR 1
74 // Define 1 to compile contributed wxScrollBar class
76 #define wxUSE_CHECKBOX 1
77 // Define 1 to compile checkbox
79 #define wxUSE_LISTBOX 1
80 // Define 1 to compile listbox
82 #define wxUSE_SPINBTN 1
83 // Define 1 to compile spin button
85 // use wxStaticLine class (separator line in the dialog)?
86 #define wxUSE_STATLINE 1
88 #define wxUSE_CHECKLISTBOX 1
89 // Define 1 to compile check listbox
91 #define wxUSE_CHOICE 1
92 // Define 1 to compile choice
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
103 #define wxUSE_WX_RESOURCES 1
104 // Use .wxr resource mechanism (requires PrologIO library)
106 // support for startup tips (wxShowTip &c)
107 #define wxUSE_STARTUP_TIPS 1
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
115 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
116 // Set to 0 to disable document/view architecture
117 #define wxUSE_MDI_ARCHITECTURE 1
118 // Set to 0 to disable MDI document/view architecture
119 #define wxUSE_PRINTING_ARCHITECTURE 1
120 // Set to 0 to disable print/preview architecture code
121 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
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
129 // wxObject::delete *IF* __WXDEBUG__ is also defined.
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.
135 // If __WXDEBUG__ is not defined, will still use
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)
141 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
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.
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.
149 // You may need to set this to 0 if using templates (at least
152 #define REMOVE_UNUSED_ARG 1
153 // Set this to 0 if your compiler can't cope
154 // with omission of prototype parameters.
157 // Define 1 to use ODBC classes
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
171 #define wxUSE_IOSTREAMH 0
173 #define wxUSE_IOSTREAMH 1
175 // VC++ 4.2 and above allows <iostream> and <iostream.h>
176 // but you can't mix them. Set to 1 for <iostream.h>,
179 #define wxUSE_STREAMS 1
180 // If enabled (1), compiles wxWindows streams classes
182 #define wxUSE_STD_IOSTREAM 1
183 // Use standard C++ streams if 1. If 0, use wxWin
184 // streams implementation.
186 #define wxUSE_WXCONFIG 1
187 // if enabled, compiles built-in OS independent wxConfig
188 // class and it's file (any platform) and registry (Win)
189 // based implementations
190 #define wxUSE_THREADS 0
191 // support for multithreaded applications: if
192 // 1, compile in thread classes (thread.h)
193 // and make the library thread safe
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
208 #define wxUSE_SOCKETS 0 // 0
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
215 #define wxUSE_BUSYINFO 1 // 0
216 // wxBusyInfo displays window with message
217 // when app is busy. Works in same way as
219 #define wxUSE_ZIPSTREAM 1 // 0
220 // input stream for reading from zip archives
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,
232 // use wxFile class - required by i18n code, wxConfig and others - recommended
235 // use wxTextFile class: requires wxFile, required by wxConfig
236 #define wxUSE_TEXTFILE 1
238 // i18n support: _() macro, wxLocale class. Requires wxFile
241 // wxLogXXX functions - highly recommended
245 #define wxUSE_VALIDATORS 1
247 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
248 #define wxUSE_ACCEL 1
250 // wxSashWindow class
253 // text entry dialog and wxGetTextFromUser function
254 #define wxUSE_TEXTDLG 1
257 #define wxUSE_TOOLBAR 1
260 #define wxUSE_STATUSBAR 1
262 // progress dialog class for lengthy operations
263 #define wxUSE_PROGRESSDLG 1
265 // wxDirDlg class for getting a directory name from user
266 #define wxUSE_DIRDLG 1
269 * MS Windows/Windows NT
274 // drag-and-drop, clipboard, OLE Automation
276 #if defined(__WIN95__)
277 #define wxUSE_CTL3D 0
279 #define wxUSE_CTL3D 1
280 // Define 1 to use Microsoft CTL3D library.
281 // See note above about using FAFA and CTL3D.
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
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
309 #define wxUSE_OWNER_DRAWN 0
310 // Owner-drawn menus and listboxes
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.
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.