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