]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/setup.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / mac / 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 #define wxUSE_BUSYINFO 1
20
21 #define WORDS_BIGENDIAN 1
22
23 #define wxUSE_LIBPNG 1
24 // Use PNG bitmap code
25 #define wxUSE_LIBJPEG 1
26 // Use JPEG bitmap code
27 #define wxUSE_STREAMS 1
28
29 #define wxUSE_ZLIB 1
30 #define wxUSE_ZIPSTREAM 1
31 #define wxUSE_SOCKETS 1
32
33 #define wxUSE_CONSTRAINTS 1
34 // Use constraints mechanism
35 #define wxUSE_CONFIG 1
36 // Use wxConfig, with CreateConfig in wxApp
37 #define _WX_GOODCOMPILER__
38 // gcc can have problems, but Windows compilers
39 // are generally OK.
40 #define WXWIN_COMPATIBILITY 0
41 // Compatibility with 1.66 API.
42 // Level 0: no backward compatibility, all new features
43 // Level 1: wxDC, OnSize (etc.) compatibility, but
44 // some new features such as event tables
45
46 #define wxUSE_AUTOTRANS 0
47 // Define wxTString
48 #define wxUSE_POSTSCRIPT 0
49 // 0 for no PostScript device context
50 #define wxUSE_AFM_FOR_POSTSCRIPT 0
51 // 1 to use font metric files in GetTextExtent
52 #define wxUSE_METAFILE 1
53 // 0 for no Metafile and metafile device context
54 #define wxUSE_FORM 0
55 // 0 for no wxForm
56 #define wxUSE_IPC 0
57 // 0 for no interprocess comms
58 #define wxUSE_HELP 0
59 // 0 for no help facility
60 #define wxUSE_RESOURCES 1
61 // 0 for no wxGetResource/wxWriteResource
62 #define wxUSE_CLIPBOARD 1
63 // 0 for no clipboard functions
64 #define wxUSE_SPLINES 0
65 // 0 for no splines
66 #define wxUSE_XFIG_SPLINE_CODE 0
67 // 1 for XFIG spline code, 0 for AIAI spline code.
68 // AIAI spline code is slower, but freer of copyright issues.
69 // 0 for no splines
70
71 #define wxUSE_TOOLBAR 1
72 // Use toolbars
73 #define wxUSE_DRAG_AND_DROP 0
74 // 0 for no drag and drop
75
76 #define wxUSE_WX_RESOURCES 1
77 // Use .wxr resource mechanism (requires PrologIO library)
78
79 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
80 // Set to 0 to disable document/view architecture
81 #define wxUSE_PRINTING_ARCHITECTURE 1
82 // Set to 0 to disable print/preview architecture code
83 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
84 // Set to 0 to disable PostScript print/preview architecture code
85 // under Windows (just use Windows printing).
86 #define wxUSE_DYNAMIC_CLASSES 1
87 // If 1, enables provision of run-time type information.
88 // NOW MANDATORY: don't change.
89 #define wxUSE_MEMORY_TRACING 1
90 // If 1, enables debugging versions of wxObject::new and
91 // wxObject::delete *IF* WXDEBUG is also defined.
92 // WARNING: this code may not work with all architectures, especially
93 // if alignment is an issue.
94 #define wxUSE_DEBUG_CONTEXT 1
95 // If 1, enables wxDebugContext, for
96 // writing error messages to file, etc.
97 // If WXDEBUG is not defined, will still use
98 // normal memory operators.
99 // It's recommended to set this to 1,
100 // since you may well need to output
101 // an error log in a production
102 // version (or non-debugging beta)
103 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
104 // In debug mode, cause new and delete to be redefined globally.
105 // If this causes problems (e.g. link errors), set this to 0.
106
107 #define wxUSE_DEBUG_NEW_ALWAYS 1
108 // In debug mode, causes new to be defined to
109 // be WXDEBUG_NEW (see object.h).
110 // If this causes problems (e.g. link errors), set this to 0.
111
112 #define REMOVE_UNUSED_ARG 1
113 // Set this to 0 if your compiler can't cope
114 // with omission of prototype parameters.
115
116 #define wxUSE_C_MAIN 0
117 // Set to 1 to use main.c instead of main.cpp (UNIX only)
118
119 #define wxUSE_ODBC 0
120 // Define 1 to use ODBC classes
121
122 #define wxUSE_IOSTREAMH 0
123 // VC++ 4.2 and above allows <iostream> and <iostream.h>
124 // but you can't mix them. Set to 1 for <iostream.h>,
125 // 0 for <iostream>
126
127 #define wxUSE_ZIPSTREAM 1
128
129 #define wxUSE_FS_ZIP 1
130
131 #define wxUSE_FS_INET 1
132
133 #define wxUSE_STREAMS 1
134 // If enabled (1), compiles wxWindows streams classes
135
136 #define wxUSE_STD_IOSTREAM 1
137 // Use standard C++ streams if 1. If 0, use wxWin
138 // streams implementation.
139 #define wxUSE_WXCONFIG 0
140 // if enabled, compiles built-in OS independent wxConfig
141 // class and it's file (any platform) and registry (Win)
142 // based implementations
143 /*
144 * Finer detail
145 *
146 */
147
148 #define wxUSE_APPLE_IEEE 1
149 // if enabled, the float codec written by Apple
150 // will be used to write, in a portable way,
151 // float on the disk
152
153 // use wxFile class - required by i18n code, wxConfig and others - recommended
154 #define wxUSE_FILE 1
155
156 // use wxTextFile class: requires wxFile, required by wxConfig
157 #define wxUSE_TEXTFILE 1
158
159 // i18n support: _() macro, wxLocale class. Requires wxFile
160 #define wxUSE_INTL 1
161
162 // wxLogXXX functions - highly recommended
163 #define wxUSE_LOG 1
164
165 // wxValidator class
166 #define wxUSE_VALIDATORS 1
167
168 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
169 #define wxUSE_ACCEL 1
170
171 // wxSashWindow class
172 #define wxUSE_SASH 1
173
174 // text entry dialog and wxGetTextFromUser function
175 #define wxUSE_TEXTDLG 1
176
177 #define wxUSE_STATLINE 1
178
179 // wxToolBar class
180 #define wxUSE_TOOLBAR 1
181
182 // wxStatusBar class
183 #define wxUSE_STATUSBAR 1
184
185 // progress dialog class for lengthy operations
186 #define wxUSE_PROGRESSDLG 1
187
188 // wxDirDlg class for getting a directory name from user
189 #define wxUSE_DIRDLG 1
190
191 #endif
192 // _WX_SETUP_H_