Added wxUSE_DC_CACHEING and associated code to wxMSW
[wxWidgets.git] / include / wx / univ / setup.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/setup.h
3 // Purpose: configuration settings for wxUniversal/MSW
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 14.08.00
7 // RCS-ID: $Id$
8 // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
9 // Licence: wxWindows license
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_UNIV_SETUP_H_
13 #define _WX_UNIV_SETUP_H_
14
15 // ----------------------------------------------------------------------------
16 // undef everything
17 // ----------------------------------------------------------------------------
18 #ifdef __WXMAC__
19
20 #define wxUSE_GUI 1
21 #define WXWIN_COMPATIBILITY 0
22 #define wxICON_IS_BITMAP 0
23 #define wxFONT_SIZE_COMPATIBILITY 0
24 #define wxDIALOG_UNIT_COMPATIBILITY 0
25 #define wxUSE_DEBUG_CONTEXT 0
26 #define wxUSE_MEMORY_TRACING 0
27 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
28 #define wxUSE_DEBUG_NEW_ALWAYS 0
29 #define wxUSE_ON_FATAL_EXCEPTION 0
30
31 #define wxUSE_UNICODE 0
32 #define wxUSE_WCHAR_T 0
33 #define wxUSE_LOG 1
34 #define wxUSE_LOGGUI 1
35 #define wxUSE_LOGWINDOW 1
36 #define wxUSE_LOG_DIALOG 0
37 #define wxUSE_THREADS 0
38 #define wxUSE_STREAMS 0
39 #define wxUSE_STD_IOSTREAM 0
40 #define wxUSE_SERIAL 0
41 #define wxUSE_LONGLONG 1
42 #define wxUSE_TIMER 1
43 #define wxUSE_STOPWATCH 1
44 #define wxUSE_TIMEDATE 0
45 #define wxUSE_DATETIME 1
46 #define wxUSE_CONFIG 0
47 #define wxUSE_CONFIG_NATIVE 0
48 #define wxUSE_DIALUP_MANAGER 0
49 #define wxUSE_DYNLIB_CLASS 0
50 #define wxUSE_SOCKETS 0
51 #define wxUSE_FILESYSTEM 0
52 #define wxUSE_FS_ZIP 0
53 #define wxUSE_FS_INET 0
54 #define wxUSE_ZIPSTREAM 0
55 #define wxUSE_ZLIB 0
56 #define wxUSE_FILESYSTEM 0
57 #define wxUSE_FS_ZIP 0
58 #define wxUSE_FS_INET 0
59 #define wxUSE_ZIPSTREAM 0
60 #define wxUSE_ZLIB 0
61 #define wxUSE_APPLE_IEEE 0
62 #define wxUSE_FILE 1
63 #define wxUSE_FFILE 1
64 #define wxUSE_TEXTFILE 0
65 #define wxUSE_INTL 0
66 #define wxUSE_MENUS 0 // was 1
67 #define wxUSE_TOOLBAR 0
68 #define wxUSE_TOOLBAR_NATIVE 0
69 #define wxUSE_TOOLBAR_SIMPLE 0
70 #define wxUSE_NOTEBOOK 1
71 #define wxUSE_FONTMAP 0
72 #define wxUSE_MIMETYPE 0
73 #define wxUSE_IMAGE 1
74 #define wxUSE_SYSTEM_OPTIONS 1
75
76 #define wxUSE_CONTROLS 1
77 #define wxUSE_POPUPWIN 1
78 #define wxUSE_BUTTON 1
79 #define wxUSE_BMPBUTTON 1
80 #define wxUSE_CALENDARCTRL 0
81 #define wxUSE_CARET 1
82 #define wxUSE_CHECKBOX 1
83 #define wxUSE_CHECKLISTBOX 1
84 #define wxUSE_CHOICE 0
85 #define wxUSE_COMBOBOX 0 // was 1
86 #define wxUSE_GAUGE 1
87 #define wxUSE_IMAGLIST 1
88 #define wxUSE_LISTBOX 1
89 #define wxUSE_LISTCTRL 0
90 #define wxUSE_RADIOBOX 1
91 #define wxUSE_RADIOBTN 1
92 #define wxUSE_SASH 0
93 #define wxUSE_SCROLLBAR 1
94 #define wxUSE_SLIDER 1
95 #define wxUSE_SPINBTN 1
96 #define wxUSE_SPINCTRL 1
97 #define wxUSE_STATBOX 1
98 #define wxUSE_STATLINE 1
99 #define wxUSE_STATTEXT 1
100 #define wxUSE_STATBMP 1
101 #define wxUSE_STATUSBAR 0
102 #define wxUSE_TEXTCTRL 1
103 #define wxUSE_TOOLTIPS 0
104 #define wxUSE_TREECTRL 0
105
106 #define wxUSE_NATIVE_STATUSBAR 0
107 #define wxUSE_BUTTONBAR 0
108 #define wxUSE_GRID 0
109 #define wxUSE_NEW_GRID 0
110 #define wxUSE_VALIDATORS 0
111 #define wxUSE_DC_CACHEING 0
112 #define wxUSE_ACCEL 1
113 #define wxUSE_GENERIC_DIALOGS_IN_MSW 0
114 #define wxUSE_COMMON_DIALOGS 0
115 #define wxUSE_TEXTDLG 0
116 #define wxUSE_PROGRESSDLG 0
117 #define wxUSE_BUSYINFO 0
118 #define wxUSE_DIRDLG 0
119 #define wxUSE_FONTDLG 0
120 #define wxUSE_FILEDLG 0
121 #define wxUSE_FILEDLG 0
122 #define wxUSE_COLOURDLG 0
123 #define wxUSE_CHOICEDLG 0
124 #define wxUSE_NUMBERDLG 0
125 #define wxUSE_STARTUP_TIPS 0
126 #define wxUSE_MSGDLG 1
127 #define wxUSE_SPLITTER 1
128 #define wxUSE_TAB_DIALOG 0
129
130 #define wxUSE_METAFILE 0
131 #define wxUSE_ENH_METAFILE 0
132 #define wxUSE_WIN_METAFILES_ALWAYS 0
133 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
134 #define wxUSE_MDI_ARCHITECTURE 0
135 #define wxUSE_PRINTING_ARCHITECTURE 0
136 #define wxUSE_HTML 0
137 #define wxUSE_PLOT 0
138 #define wxUSE_GLCANVAS 0
139 #define wxUSE_TREELAYOUT 0
140 #define wxUSE_IPC 0
141 #define wxUSE_HELP 0
142 #define wxUSE_MS_HTML_HELP 0
143 #define wxUSE_RESOURCES 0
144 #define wxUSE_CONSTRAINTS 1
145 #define wxUSE_CLIPBOARD 0
146 #define wxUSE_DATAOBJ 1
147 #define wxUSE_SPLINES 0
148 #define wxUSE_DRAG_AND_DROP 0
149 #define wxUSE_XPM_IN_MSW 1
150 #define wxUSE_XPM 1
151 #define wxUSE_IMAGE_LOADING_IN_MSW 1
152 #define wxUSE_RESOURCE_LOADING_IN_MSW 0
153 #define wxUSE_WX_RESOURCES 0
154 #define wxUSE_POSTSCRIPT 0
155 #define wxUSE_AFM_FOR_POSTSCRIPT 0
156 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
157 #define wxUSE_ODBC 0
158 #define wxODBC_FWD_ONLY_CURSORS 0
159 #define wxODBC_BACKWARD_COMPATABILITY 0
160 #define REMOVE_UNUSED_ARG 1
161 #define wxUSE_IOSTREAMH 0
162 #define wxUSE_LIBPNG 0
163 #define wxUSE_LIBJPEG 0
164 #define wxUSE_LIBTIFF 0
165 #define wxUSE_GIF 0
166 #define wxUSE_PNM 0
167 #define wxUSE_PCX 0
168 #define wxUSE_MFC 0
169 #define wxUSE_OLE 0
170 #define wxUSE_CTL3D 0
171 #define wxUSE_ITSY_BITSY 0
172 #define wxUSE_DYNAMIC_CLASSES 1
173
174
175 #else
176
177 #define wxUSE_GUI 1
178 #define WXWIN_COMPATIBILITY 0
179 #define wxICON_IS_BITMAP 0
180 #define wxFONT_SIZE_COMPATIBILITY 0
181 #define wxDIALOG_UNIT_COMPATIBILITY 0
182 #define wxUSE_DEBUG_CONTEXT 0
183 #define wxUSE_MEMORY_TRACING 0
184 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
185 #define wxUSE_DEBUG_NEW_ALWAYS 0
186 #define wxUSE_ON_FATAL_EXCEPTION 0
187
188 #define wxUSE_UNICODE 0
189 #define wxUSE_WCHAR_T 0
190 #define wxUSE_LOG 1
191 #define wxUSE_LOGGUI 1
192 #define wxUSE_LOGWINDOW 1
193 #define wxUSE_LOG_DIALOG 0
194 #define wxUSE_THREADS 0
195 #define wxUSE_STREAMS 0
196 #define wxUSE_STD_IOSTREAM 0
197 #define wxUSE_SERIAL 0
198 #define wxUSE_LONGLONG 1
199 #define wxUSE_TIMER 1
200 #define wxUSE_STOPWATCH 1
201 #define wxUSE_TIMEDATE 0
202 #define wxUSE_DATETIME 1
203 #define wxUSE_CONFIG 0
204 #define wxUSE_CONFIG_NATIVE 0
205 #define wxUSE_DIALUP_MANAGER 0
206 #define wxUSE_DYNLIB_CLASS 0
207 #define wxUSE_SOCKETS 0
208 #define wxUSE_FILESYSTEM 0
209 #define wxUSE_FS_ZIP 0
210 #define wxUSE_FS_INET 0
211 #define wxUSE_ZIPSTREAM 0
212 #define wxUSE_ZLIB 0
213 #define wxUSE_APPLE_IEEE 0
214 #define wxUSE_FILE 1
215 #define wxUSE_FFILE 1
216 #define wxUSE_TEXTFILE 0
217 #define wxUSE_INTL 0
218 #define wxUSE_MENUS 1
219 #define wxUSE_TOOLBAR 0
220 #define wxUSE_TOOLBAR_NATIVE 0
221 #define wxUSE_TOOLBAR_SIMPLE 0
222 #define wxUSE_NOTEBOOK 1
223 #define wxUSE_FONTMAP 0
224 #define wxUSE_MIMETYPE 0
225 #define wxUSE_IMAGE 1
226 #define wxUSE_SYSTEM_OPTIONS 1
227
228 #define wxUSE_CONTROLS 1
229 #define wxUSE_POPUPWIN 1
230 #define wxUSE_BUTTON 1
231 #define wxUSE_BMPBUTTON 1
232 #define wxUSE_CALENDARCTRL 0
233 #define wxUSE_CARET 1
234 #define wxUSE_CHECKBOX 1
235 #define wxUSE_CHECKLISTBOX 1
236 #define wxUSE_CHOICE 0
237 #define wxUSE_COMBOBOX 1
238 #define wxUSE_GAUGE 1
239 #define wxUSE_IMAGLIST 1
240 #define wxUSE_LISTBOX 1
241 #define wxUSE_LISTCTRL 0
242 #define wxUSE_RADIOBOX 1
243 #define wxUSE_RADIOBTN 1
244 #define wxUSE_SASH 0
245 #define wxUSE_SCROLLBAR 1
246 #define wxUSE_SLIDER 1
247 #define wxUSE_SPINBTN 1
248 #define wxUSE_SPINCTRL 1
249 #define wxUSE_STATBOX 1
250 #define wxUSE_STATLINE 1
251 #define wxUSE_STATTEXT 1
252 #define wxUSE_STATBMP 1
253 #define wxUSE_STATUSBAR 0
254 #define wxUSE_TEXTCTRL 1
255 #define wxUSE_TOOLTIPS 0
256 #define wxUSE_TREECTRL 0
257
258 #define wxUSE_NATIVE_STATUSBAR 0
259 #define wxUSE_BUTTONBAR 0
260 #define wxUSE_GRID 0
261 #define wxUSE_NEW_GRID 0
262 #define wxUSE_VALIDATORS 0
263 #define wxUSE_DC_CACHEING 1
264 #define wxUSE_ACCEL 1
265 #define wxUSE_GENERIC_DIALOGS_IN_MSW 0
266 #define wxUSE_COMMON_DIALOGS 0
267 #define wxUSE_TEXTDLG 0
268 #define wxUSE_PROGRESSDLG 0
269 #define wxUSE_BUSYINFO 0
270 #define wxUSE_DIRDLG 0
271 #define wxUSE_FONTDLG 0
272 #define wxUSE_FILEDLG 0
273 #define wxUSE_COLOURDLG 0
274 #define wxUSE_TEXTDLG 0
275 #define wxUSE_CHOICEDLG 0
276 #define wxUSE_NUMBERDLG 0
277 #define wxUSE_STARTUP_TIPS 0
278 #define wxUSE_MSGDLG 1
279 #define wxUSE_SPLITTER 1
280 #define wxUSE_TAB_DIALOG 0
281
282 #define wxUSE_METAFILE 0
283 #define wxUSE_ENH_METAFILE 0
284 #define wxUSE_WIN_METAFILES_ALWAYS 0
285 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
286 #define wxUSE_MDI_ARCHITECTURE 0
287 #define wxUSE_PRINTING_ARCHITECTURE 0
288 #define wxUSE_HTML 0
289 #define wxUSE_PLOT 0
290 #define wxUSE_GLCANVAS 0
291 #define wxUSE_TREELAYOUT 0
292 #define wxUSE_IPC 0
293 #define wxUSE_HELP 0
294 #define wxUSE_MS_HTML_HELP 0
295 #define wxUSE_WXHTML_HELP 0
296 #define wxUSE_RESOURCES 0
297 #define wxUSE_CONSTRAINTS 1
298 #define wxUSE_CLIPBOARD 0
299 #define wxUSE_DATAOBJ 1
300 #define wxUSE_SPLINES 0
301 #define wxUSE_DRAG_AND_DROP 0
302 #define wxUSE_XPM_IN_MSW 1
303 #define wxUSE_XPM 1
304 #define wxUSE_IMAGE_LOADING_IN_MSW 1
305 #define wxUSE_RESOURCE_LOADING_IN_MSW 0
306 #define wxUSE_WX_RESOURCES 0
307 #define wxUSE_POSTSCRIPT 0
308 #define wxUSE_AFM_FOR_POSTSCRIPT 0
309 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
310 #define wxUSE_ODBC 0
311 #define wxODBC_FWD_ONLY_CURSORS 0
312 #define wxODBC_BACKWARD_COMPATABILITY 0
313 #define REMOVE_UNUSED_ARG 1
314 #define wxUSE_IOSTREAMH 0
315 #define wxUSE_LIBPNG 0
316 #define wxUSE_LIBJPEG 0
317 #define wxUSE_LIBTIFF 0
318 #define wxUSE_GIF 0
319 #define wxUSE_PNM 0
320 #define wxUSE_PCX 0
321 #define wxUSE_MFC 0
322 #define wxUSE_OLE 0
323 #define wxUSE_CTL3D 0
324 #define wxUSE_ITSY_BITSY 0
325 #define wxUSE_DYNAMIC_CLASSES 1
326
327 #endif
328
329 #endif // _WX_UNIV_SETUP_H_