]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/setup0.h
9b4e88ed66eaa2d3c5c5e739c0eb1a97759d18f4
[wxWidgets.git] / include / wx / os2 / 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 // global settings
17 // ----------------------------------------------------------------------------
18
19 #define wxUSE_EXCEPTIONS 1
20
21 // define this to 0 when building wxBase library
22 #define wxUSE_GUI 1
23
24 //define this to 1 when adding support for multiple displays/screens
25 #define wxUSE_DISPLAY 0
26 // ----------------------------------------------------------------------------
27 // General features
28 // ----------------------------------------------------------------------------
29
30 #define wxUSE_FILESYSTEM 1 // better have this is you want to compile wxHTML
31
32 #if defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )
33 #define wxUSE_LONGLONG 1
34 #endif
35
36 #define wxUSE_NET_API 1 // Utilize OS/2's UPM netapi's
37
38 #define wxUSE_DATETIME 1 // Utilize the date-time classes
39
40 #define wxUSE_CONFIG 1
41 // Use wxConfig, with CreateConfig in wxApp
42
43 #define wxUSE_POSTSCRIPT 1
44 // 0 for no PostScript device context
45 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46 // 1 to use font metric files in GetTextExtent
47 #define wxUSE_METAFILE 1
48 // 0 for no Metafile and metafile device context
49 #define wxUSE_IPC 1
50 // 0 for no interprocess comms
51 // Note: wxHELP uses IPC under X so these are interdependent!
52 #define wxUSE_HELP 1
53 // 0 for no help facility
54 #define wxUSE_RESOURCES 1
55 // 0 for no wxGetResource/wxWriteResource
56 #define wxUSE_CONSTRAINTS 1
57 // 0 for no window layout constraint system
58
59 #define wxUSE_TIMEDATE 1
60 // 0 for no wxTime/wxDate classes
61
62 #define wxUSE_MENUS 1
63 // 0 for no menus
64
65 #define wxUSE_JOYSTICK 1
66 // 0 for no joystick functions
67
68 #define wxUSE_CLIPBOARD 1
69 // 0 for no clipboard functions
70
71 #define wxUSE_PLOT 1
72 // 0 for no generic plot functions
73
74 #define wxUSE_SPLINES 1
75 // 0 for no splines
76
77 #define wxUSE_DRAG_AND_DROP 1
78 // 0 for no drag and drop
79
80 #define wxUSE_CONTROLS 1 // Do not change
81 #define wxUSE_POPUPWIN 1 //
82 #define wxUSE_TIPWINDOW 1 //
83
84 // Recommended setting: 1
85 #define wxUSE_BUTTON 1 // wxButton
86 #define wxUSE_BMPBUTTON 1 // wxBitmapButton
87 #define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl
88 #define wxUSE_CHECKBOX 1 // wxCheckBox
89 #define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
90 #define wxUSE_CHOICE 1 // wxChoice
91 #define wxUSE_COMBOBOX 1 // wxComboBox
92 #define wxUSE_GAUGE 1 // wxGauge
93 #define wxUSE_LISTBOX 1 // wxListBox
94 #define wxUSE_LISTCTRL 1 // wxListCtrl
95 #define wxUSE_RADIOBOX 1 // wxRadioBox
96 #define wxUSE_RADIOBTN 1 // wxRadioButton
97 #define wxUSE_SCROLLBAR 1 // wxScrollBar
98 #define wxUSE_SLIDER 1 // wxSlider
99 #define wxUSE_SPINBTN 1 // wxSpinButton
100 #define wxUSE_SPINCTRL 1 // wxSpinCtrl
101 #define wxUSE_STATBOX 1 // wxStaticBox
102 #define wxUSE_STATLINE 1 // wxStaticLine
103 #define wxUSE_STATTEXT 1 // wxStaticText
104 #define wxUSE_STATBMP 1 // wxStaticBitmap
105 #define wxUSE_TEXTCTRL 1 // wxTextCtrl
106 #define wxUSE_TOGGLEBTN 1 // requires wxButton
107 #define wxUSE_TREECTRL 1 // wxTreeCtrl
108 #define wxUSE_CHOICEDLG 1
109 #define wxUSE_COLOURDLG 1
110 #define wxUSE_DATAOBJ 1
111 #define wxUSE_FILEDLG 1
112 #define wxUSE_FONTDLG 1
113 #define wxUSE_FONTMAP 1
114 #define wxUSE_GRID 1
115 #define wxUSE_IMAGLIST 1
116 #define wxUSE_LOGGUI 1
117 #define wxUSE_LOGWINDOW 1
118 #define wxUSE_LOG_DIALOG 1
119 #define wxUSE_MIMETYPE 1
120 #define wxUSE_MSGDLG 1
121 #define wxUSE_NOTEBOOK 1
122 #define wxUSE_LISTBOOK 1
123 #define wxUSE_CHOICEBOOK 1
124 #define wxUSE_SPLITTER 1
125 #define wxUSE_STOPWATCH 1
126 #define wxUSE_TAB_DIALOG 1
127 #define wxUSE_WXHTML_HELP 1
128
129 #define wxUSE_RADIOBUTTON 1
130 // Define 1 to use radio button control
131
132 #define wxUSE_SCROLLBAR 1
133 // Define 1 to compile contributed wxScrollBar class
134
135 #define wxUSE_CARET 1
136 // Define 1 to use wxCaret class
137 #define wxUSE_TREECTRL 1
138 // Define 1 to use wxTree* classes
139 #define wxUSE_XPM_IN_OS2 1
140 // Define 1 to support the XPM package in wxBitmap.
141 #define wxUSE_IMAGE_LOADING_IN_OS2 1
142 // Use dynamic DIB loading/saving code in utils/dib under OS2.
143 #define wxUSE_RESOURCE_LOADING_IN_OS2 1
144 // Use dynamic icon/cursor loading/saving code
145 // under OS2.
146 #define wxUSE_WX_RESOURCES 0
147 // Use .wxr resource mechanism (requires PrologIO library)
148
149 // support for startup tips (wxShowTip &c)
150 #define wxUSE_STARTUP_TIPS 1
151
152 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
153 // Set to 0 to disable document/view architecture
154 #define wxUSE_MDI 1
155
156 #define wxUSE_MDI_ARCHITECTURE 1
157 // Set to 0 to disable MDI document/view architecture
158 #define wxUSE_PRINTING_ARCHITECTURE 1
159 // Set to 0 to disable print/preview architecture code
160 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_OS2 1
161 // Set to 0 to disable PostScript print/preview architecture code
162 // under OS/2 PM (just use PM printing).
163 #define wxUSE_DYNAMIC_CLASSES 1
164 // If 1, enables provision of run-time type information.
165 // NOW MANDATORY: don't change.
166 #define wxUSE_MEMORY_TRACING 1
167 // If 1, enables debugging versions of wxObject::new and
168 // wxObject::delete *IF* __WXDEBUG__ is also defined.
169 // WARNING: this code may not work with all architectures, especially
170 // if alignment is an issue.
171 #define wxUSE_DEBUG_CONTEXT 1
172 // If 1, enables wxDebugContext, for
173 // writing error messages to file, etc.
174 // If __WXDEBUG__ is not defined, will still use
175 // normal memory operators.
176 // It's recommended to set this to 1,
177 // since you may well need to output
178 // an error log in a production
179 // version (or non-debugging beta)
180 #if defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )
181 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
182 #else
183 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
184 #endif
185 // In debug mode, cause new and delete to be redefined globally.
186 // If this causes problems (e.g. link errors), set this to 0.
187
188 #define wxUSE_DEBUG_NEW_ALWAYS 1
189 // In debug mode, causes new to be defined to
190 // be WXDEBUG_NEW (see object.h).
191 // If this causes problems (e.g. link errors), set this to 0.
192 // You may need to set this to 0 if using templates (at least
193 // for VC++).
194
195 #define REMOVE_UNUSED_ARG 1
196 // Set this to 0 if your compiler can't cope
197 // with omission of prototype parameters.
198
199 #define wxUSE_ODBC 1
200 // Define 1 to use ODBC classes
201
202 #define wxODBC_FWD_ONLY_CURSORS 1
203 // For backward compatibility reasons, this parameter now only
204 // controls the default scrolling method used by cursors. This
205 // default behavior can be overriden by setting the second param
206 // of wxDB::GetDbConnection() to indicate whether the connection
207 // (and any wxTable()s that use the connection) should support
208 // forward only scrolling of cursors, or both forward and backward
209 // Support for backward scrolling cursors is dependent on the
210 // data source as well as the ODBC driver being used.
211
212 #define wxODBC_BACKWARD_COMPATABILITY 0
213 // Default is 0. Set to 1 to use the deprecated classes, enum
214 // types, function, member variables. With a setting of 1, full
215 // backward compatability with the 2.0.x release is possible.
216 // It is STRONGLY recommended that this be set to 0, as
217 // future development will be done only on the non-deprecated
218 // functions/classes/member variables/etc.
219
220 #define wxUSE_IOSTREAMH 1
221 // VC++ 4.2 and above allows <iostream> and <iostream.h>
222 // but you can't mix them. Set to 1 for <iostream.h>,
223 // 0 for <iostream>
224
225 #define wxUSE_STREAMS 1
226 // If enabled (1), compiles wxWidgets streams classes
227
228 #define wxUSE_STD_IOSTREAM 1
229 // Use standard C++ streams if 1. If 0, use wxWin
230 // streams implementation.
231
232 #define wxUSE_THREADS 1
233 // support for multithreaded applications: if
234 // 1, compile in thread classes (thread.h)
235 // and make the library thread safe
236 #define wxUSE_ZLIB 1
237 // Use zlib for compression in streams and PNG code
238 #define wxUSE_IMAGE 1
239 // Set to 1 for wxImage support (recommended).
240 #define wxUSE_LIBPNG 1
241 // Set to 1 for PNG format support
242 #define wxUSE_LIBJPEG 1
243 // Set to 1 for JPEG format support
244 #define wxUSE_LIBTIFF 1
245 // Set to 1 for TIFF format support
246 #define wxUSE_GIF 1
247 // Set to 1 for GIF format support
248 #define wxUSE_PNM 1
249 // Set to 1 for PNM format support
250 #define wxUSE_PCX 1
251 // Set to 1 for PCX format support
252 #define wxUSE_IFF 1
253 // Set to 1 for IFF format support
254 #define wxUSE_XPM 1
255 // Set to 1 for XPM format support
256
257
258 #define wxUSE_ICO_CUR 1
259 // Set to 1 for MS Icons and Cursors format support
260
261 #define wxUSE_SERIAL 1
262 // Use serialization (requires utils/serialize)
263 #define wxUSE_TOOLTIPS 1
264 // Define to use wxToolTip class and
265 // wxWindow::SetToolTip() method
266 #define wxUSE_SOCKETS 1
267 // Set to 1 to use socket classes
268 #define wxUSE_HTML 1
269 // Set to 1 to use wxHTML sub-library
270 #define wxUSE_FS_ZIP 1
271 #define wxUSE_FS_INET 1 // Set to 1 to enable virtual file systems
272
273 #define wxUSE_BUSYINFO 1
274 // wxBusyInfo displays window with message
275 // when app is busy. Works in same way as
276 // wxBusyCursor
277 #define wxUSE_ZIPSTREAM 1
278 // input stream for reading from zip archives
279
280 #define wxUSE_TIMER 1 // use the timer class
281 /*
282 * Finer detail
283 *
284 */
285
286 #define wxUSE_APPLE_IEEE 1
287 // if enabled, the float codec written by Apple
288 // will be used to write, in a portable way,
289 // float on the disk
290
291 // use wxFile class - required by i18n code, wxConfig and others - recommended
292 #define wxUSE_FILE 1
293
294 #define wxUSE_FFILE 1
295
296 // use wxTextBuffer class: required by wxTextFile
297 #define wxUSE_TEXTBUFFER 1
298
299 // use wxTextFile class: requires wxFile, required by wxConfig
300 #define wxUSE_TEXTFILE 1
301
302 // i18n support: _() macro, wxLocale class. Requires wxFile
303 #define wxUSE_INTL 1
304
305 // wxLogXXX functions - highly recommended
306 #define wxUSE_LOG 1
307
308 // wxValidator class
309 #define wxUSE_VALIDATORS 1
310
311 // wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
312 #define wxUSE_ACCEL 1
313
314 // wxSashWindow class
315 #define wxUSE_SASH 1
316
317 // text entry dialog and wxGetTextFromUser function
318 #define wxUSE_TEXTDLG 1
319
320 // use the number dialog
321 #define wxUSE_NUMBERDLG 1
322
323 // wxToolBar class
324 #define wxUSE_TOOLBAR 1
325 #define wxUSE_TOOLBAR_NATIVE 1
326
327 // wxStatusBar class
328 #define wxUSE_STATUSBAR 1
329
330 // wxSpinCtrl class
331 #define wxUSE_SPINCTRL 1
332
333 // progress dialog class for lengthy operations
334 #define wxUSE_PROGRESSDLG 1
335
336 // wxDirDlg class for getting a directory name from user
337 #define wxUSE_DIRDLG 1
338 #define wxUSE_DIRDLGG 1
339
340 #define wxUSE_OWNER_DRAWN 1
341 // Owner-drawn menus and listboxes
342
343 /*
344 * Any platform
345 *
346 */
347
348 #define wxUSE_TYPEDEFS 0
349 // Use typedefs not classes for wxPoint
350 // and others, to reduce overhead and avoid
351 // MS C7 memory bug. Bounds checker
352 // complains about deallocating
353 // arrays of wxPoints if wxPoint is a class.
354
355 #define wxUSE_PORTABLE_FONTS_IN_OS2 0
356 // Define 1 to use new portable font scheme in Windows
357 // (used by default under X)
358
359 #define wxUSE_GENERIC_DIALOGS_IN_OS2 0
360 // Define 1 to use generic dialogs in Windows, even though
361 // they duplicate native common dialog (e.g. wxColourDialog)
362
363 #define wxUSE_SNGLINST_CHECKER 1
364
365 #define wxUSE_GEOMETRY 1
366 // needed for wxCanvas
367 #define wxUSE_MENUS 1
368
369 #define wxUSE_SOUND 1
370
371 // Use wxMediaCtrl
372 //
373 // Default is 0.
374 //
375 // Recommended setting: 0
376 #define wxUSE_MEDIACTRL 0
377
378 // Use wxWidget's XRC XML-based resource system. Recommended.
379 //
380 // Default is 1
381 //
382 // Recommended setting: 1 (requires wxUSE_XML)
383 #define wxUSE_XRC 1
384
385 // XML parsing classes. Note that their API will change in the future, so
386 // using wxXmlDocument and wxXmlNode in your app is not recommended.
387 //
388 // Default is 1
389 //
390 // Recommended setting: 1 (required by XRC)
391 #if wxUSE_XRC
392 # define wxUSE_XML 1
393 #else
394 # define wxUSE_XML 0
395 #endif
396
397 #define wxUSE_REGEX 1
398
399 #define wxUSE_FINDREPLDLG 1 // Find replace dialog
400
401 #define wxUSE_PALETTE 1
402
403 #define wxUSE_CMDLINE_PARSER 1
404
405 #define wxUSE_SPLASH 1
406
407 #if (!(defined(WXUSINGDLL) || defined(WXMAKINGDLL)))
408 #define NO_TEXT_WINDOW_STREAM 1 // defined in textctrl.h for DLL builds
409 #endif
410
411 #define wxUSE_UNICODE 0
412 #define wxUSE_UNICODE_MSLU 0
413
414 #define wxUSE_DYNLIB_CLASS 1
415 // Compile in wxLibrary class for run-time
416 // DLL loading and function calling
417 #define wxUSE_DYNAMIC_LOADER 0
418
419 #define wxUSE_WCHAR_T 1
420 #define wxUSE_PROTOCOL 1
421 #define wxUSE_URL 1
422 #define wxUSE_PROTOCOL_HTTP 1
423 #define wxUSE_PROTOCOL_FTP 1
424 #define wxUSE_PROTOCOL_FILE 1
425
426 #define wxUSE_GENERIC_MDI_AS_NATIVE 1
427
428 #endif
429 // _WX_SETUP_H_