]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/setup0.h
Decided that not doing methods for keyboard commands was not worth the
[wxWidgets.git] / include / wx / os2 / setup0.h
CommitLineData
0e320a79
DW
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
27476f73
DW
15// ----------------------------------------------------------------------------
16// global settings
17// ----------------------------------------------------------------------------
18
4199367e
VZ
19#define wxUSE_EXCEPTIONS 1
20
3b9e3455
DW
21// define this to 1 if you want icons to behave as bitmaps
22#define wxICON_IS_BITMAP 0
23
27476f73
DW
24// define this to 0 when building wxBase library
25#define wxUSE_GUI 1
26
5d8f5f87
SN
27//define this to 1 when adding support for multiple displays/screens
28#define wxUSE_DISPLAY 0
27476f73
DW
29// ----------------------------------------------------------------------------
30// General features
31// ----------------------------------------------------------------------------
0e320a79 32
29a99be3
DW
33#define wxUSE_FILESYSTEM 1 // better have this is you want to compile wxHTML
34
2ce0a6e2 35#if defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )
ea258ad3 36#define wxUSE_LONGLONG 1
2ce0a6e2
DW
37#endif
38
39#define wxUSE_NET_API 1 // Utilize OS/2's UPM netapi's
d90895ac 40
6835592c
DW
41#define wxUSE_DATETIME 1 // Utilize the date-time classes
42
0e320a79
DW
43#define wxUSE_CONFIG 1
44 // Use wxConfig, with CreateConfig in wxApp
6835592c 45
0e320a79
DW
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
3eada58e
DW
65#define wxUSE_MENUS 1
66 // 0 for no menus
67
68#define wxUSE_JOYSTICK 1
69 // 0 for no joystick functions
70
0e320a79
DW
71#define wxUSE_CLIPBOARD 1
72 // 0 for no clipboard functions
73
1dabb13f
DW
74#define wxUSE_PLOT 1
75 // 0 for no generic plot functions
76
0e320a79
DW
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
6835592c 83#define wxUSE_CONTROLS 1 // Do not change
430974f8
DW
84#define wxUSE_POPUPWIN 1 //
85#define wxUSE_TIPWINDOW 1 //
6835592c
DW
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
e9c0df38 125#define wxUSE_LISTBOOK 1
6835592c
DW
126#define wxUSE_SPLITTER 1
127#define wxUSE_STOPWATCH 1
128#define wxUSE_TAB_DIALOG 1
129#define wxUSE_WXHTML_HELP 1
0e320a79
DW
130#define wxUSE_BUTTONBAR 1
131 // Define 1 to use buttonbar classes (enhanced toolbar
132 // for MS Windows)
0e320a79
DW
133
134#define wxUSE_RADIOBUTTON 1
135 // Define 1 to use radio button control
0e320a79
DW
136
137#define wxUSE_SCROLLBAR 1
138 // Define 1 to compile contributed wxScrollBar class
139
0e320a79
DW
140#define wxUSE_CARET 1
141 // Define 1 to use wxCaret class
79a4c912
DW
142#define wxUSE_TREECTRL 1
143 // Define 1 to use wxTree* classes
fb46a9a6 144#define wxUSE_XPM_IN_OS2 1
0e320a79 145 // Define 1 to support the XPM package in wxBitmap.
fb46a9a6
DW
146#define wxUSE_IMAGE_LOADING_IN_OS2 1
147 // Use dynamic DIB loading/saving code in utils/dib under OS2.
148#define wxUSE_RESOURCE_LOADING_IN_OS2 1
149 // Use dynamic icon/cursor loading/saving code
150 // under OS2.
4f5c180e 151#define wxUSE_WX_RESOURCES 0
0e320a79
DW
152 // Use .wxr resource mechanism (requires PrologIO library)
153
154// support for startup tips (wxShowTip &c)
155#define wxUSE_STARTUP_TIPS 1
156
157#define wxUSE_DOC_VIEW_ARCHITECTURE 1
158 // Set to 0 to disable document/view architecture
159#define wxUSE_MDI_ARCHITECTURE 1
160 // Set to 0 to disable MDI document/view architecture
161#define wxUSE_PRINTING_ARCHITECTURE 1
162 // Set to 0 to disable print/preview architecture code
fb46a9a6
DW
163#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_OS2 1
164 // Set to 0 to disable PostScript print/preview architecture code
165 // under OS/2 PM (just use PM printing).
0e320a79
DW
166#define wxUSE_DYNAMIC_CLASSES 1
167 // If 1, enables provision of run-time type information.
168 // NOW MANDATORY: don't change.
169#define wxUSE_MEMORY_TRACING 1
170 // If 1, enables debugging versions of wxObject::new and
171 // wxObject::delete *IF* __WXDEBUG__ is also defined.
172 // WARNING: this code may not work with all architectures, especially
173 // if alignment is an issue.
174#define wxUSE_DEBUG_CONTEXT 1
175 // If 1, enables wxDebugContext, for
176 // writing error messages to file, etc.
177 // If __WXDEBUG__ is not defined, will still use
178 // normal memory operators.
179 // It's recommended to set this to 1,
180 // since you may well need to output
181 // an error log in a production
182 // version (or non-debugging beta)
f6bcfd97
BP
183#if defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )
184#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
185#else
0e320a79 186#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
f6bcfd97 187#endif
0e320a79
DW
188 // In debug mode, cause new and delete to be redefined globally.
189 // If this causes problems (e.g. link errors), set this to 0.
190
191#define wxUSE_DEBUG_NEW_ALWAYS 1
192 // In debug mode, causes new to be defined to
193 // be WXDEBUG_NEW (see object.h).
194 // If this causes problems (e.g. link errors), set this to 0.
195 // You may need to set this to 0 if using templates (at least
196 // for VC++).
197
198#define REMOVE_UNUSED_ARG 1
199 // Set this to 0 if your compiler can't cope
200 // with omission of prototype parameters.
201
1dabb13f 202#define wxUSE_ODBC 1
9695185a
GT
203 // Define 1 to use ODBC classes
204
f6bcfd97
BP
205#define wxODBC_FWD_ONLY_CURSORS 1
206 // For backward compatibility reasons, this parameter now only
207 // controls the default scrolling method used by cursors. This
208 // default behavior can be overriden by setting the second param
209 // of wxDB::GetDbConnection() to indicate whether the connection
210 // (and any wxTable()s that use the connection) should support
211 // forward only scrolling of cursors, or both forward and backward
212 // Support for backward scrolling cursors is dependent on the
213 // data source as well as the ODBC driver being used.
214
215#define wxODBC_BACKWARD_COMPATABILITY 0
216 // Default is 0. Set to 1 to use the deprecated classes, enum
217 // types, function, member variables. With a setting of 1, full
218 // backward compatability with the 2.0.x release is possible.
219 // It is STRONGLY recommended that this be set to 0, as
220 // future development will be done only on the non-deprecated
221 // functions/classes/member variables/etc.
0e320a79
DW
222
223#define wxUSE_IOSTREAMH 1
224 // VC++ 4.2 and above allows <iostream> and <iostream.h>
225 // but you can't mix them. Set to 1 for <iostream.h>,
226 // 0 for <iostream>
227
228#define wxUSE_STREAMS 1
229 // If enabled (1), compiles wxWindows streams classes
230
231#define wxUSE_STD_IOSTREAM 1
232 // Use standard C++ streams if 1. If 0, use wxWin
233 // streams implementation.
234
0e320a79
DW
235#define wxUSE_THREADS 1
236 // support for multithreaded applications: if
237 // 1, compile in thread classes (thread.h)
238 // and make the library thread safe
239#define wxUSE_ZLIB 1
240 // Use zlib for compression in streams and PNG code
6f96ac03
VZ
241#define wxUSE_GZSTREAM 1
242 // Set to 1 to compile wxGzipInput/OutputStream classes.
243 // Requires wxUSE_ZLIB.
08399e45
DW
244#define wxUSE_IMAGE 1
245 // Set to 1 for wxImage support (recommended).
0e320a79 246#define wxUSE_LIBPNG 1
08399e45 247 // Set to 1 for PNG format support
0e320a79 248#define wxUSE_LIBJPEG 1
08399e45
DW
249 // Set to 1 for JPEG format support
250#define wxUSE_LIBTIFF 1
251 // Set to 1 for TIFF format support
252#define wxUSE_GIF 1
253 // Set to 1 for GIF format support
254#define wxUSE_PNM 1
255 // Set to 1 for PNM format support
256#define wxUSE_PCX 1
257 // Set to 1 for PCX format support
b4b830ec 258#define wxUSE_IFF 1
4b6b4dfc 259 // Set to 1 for IFF format support
08399e45
DW
260#define wxUSE_XPM 1
261 // Set to 1 for XPM format support
262
658974ae
VS
263
264#define wxUSE_ICO_CUR 1
265 // Set to 1 for MS Icons and Cursors format support
266
0e320a79
DW
267#define wxUSE_SERIAL 1
268 // Use serialization (requires utils/serialize)
0e320a79
DW
269#define wxUSE_TOOLTIPS 1
270 // Define to use wxToolTip class and
271 // wxWindow::SetToolTip() method
272#define wxUSE_SOCKETS 1
273 // Set to 1 to use socket classes
274#define wxUSE_HTML 1
275 // Set to 1 to use wxHTML sub-library
276#define wxUSE_FS_ZIP 1
277#define wxUSE_FS_INET 1 // Set to 1 to enable virtual file systems
278
279#define wxUSE_BUSYINFO 1
280 // wxBusyInfo displays window with message
281 // when app is busy. Works in same way as
282 // wxBusyCursor
283#define wxUSE_ZIPSTREAM 1
284 // input stream for reading from zip archives
285
6835592c 286#define wxUSE_TIMER 1 // use the timer class
0e320a79
DW
287/*
288 * Finer detail
289 *
290 */
291
292#define wxUSE_APPLE_IEEE 1
293 // if enabled, the float codec written by Apple
294 // will be used to write, in a portable way,
295 // float on the disk
296
297// use wxFile class - required by i18n code, wxConfig and others - recommended
298#define wxUSE_FILE 1
299
6835592c
DW
300#define wxUSE_FFILE 1
301
a3a584a7
VZ
302// use wxTextBuffer class: required by wxTextFile
303#define wxUSE_TEXTBUFFER 1
304
0e320a79
DW
305// use wxTextFile class: requires wxFile, required by wxConfig
306#define wxUSE_TEXTFILE 1
307
308// i18n support: _() macro, wxLocale class. Requires wxFile
309#define wxUSE_INTL 1
310
311// wxLogXXX functions - highly recommended
312#define wxUSE_LOG 1
313
314// wxValidator class
315#define wxUSE_VALIDATORS 1
316
317// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)
318#define wxUSE_ACCEL 1
319
320// wxSashWindow class
321#define wxUSE_SASH 1
322
323// text entry dialog and wxGetTextFromUser function
324#define wxUSE_TEXTDLG 1
325
b82186f0
DW
326// use the number dialog
327#define wxUSE_NUMBERDLG 1
328
0e320a79
DW
329// wxToolBar class
330#define wxUSE_TOOLBAR 1
97fdfcc9 331#define wxUSE_TOOLBAR_NATIVE 1
0e320a79
DW
332
333// wxStatusBar class
334#define wxUSE_STATUSBAR 1
335
f21a7f94
DW
336// wxSpinCtrl class
337#define wxUSE_SPINCTRL 1
338
0e320a79
DW
339// progress dialog class for lengthy operations
340#define wxUSE_PROGRESSDLG 1
341
342// wxDirDlg class for getting a directory name from user
f1633a8f
DW
343#define wxUSE_DIRDLG 1
344#define wxUSE_DIRDLGG 1
0e320a79
DW
345
346#define wxUSE_OWNER_DRAWN 1
347 // Owner-drawn menus and listboxes
348
349/*
350 * Any platform
351 *
352 */
353
354#define wxUSE_TYPEDEFS 0
355 // Use typedefs not classes for wxPoint
356 // and others, to reduce overhead and avoid
357 // MS C7 memory bug. Bounds checker
358 // complains about deallocating
359 // arrays of wxPoints if wxPoint is a class.
360
fb46a9a6
DW
361#define wxUSE_PORTABLE_FONTS_IN_OS2 0
362 // Define 1 to use new portable font scheme in Windows
363 // (used by default under X)
364
365#define wxUSE_GENERIC_DIALOGS_IN_OS2 0
366 // Define 1 to use generic dialogs in Windows, even though
367 // they duplicate native common dialog (e.g. wxColourDialog)
153b1416
DW
368
369#define wxUSE_SNGLINST_CHECKER 1
370
f8ed401c
DW
371#define wxUSE_GEOMETRY 1
372 // needed for wxCanvas
c190ab22
DW
373#define wxUSE_MENUS 1
374
002ed9af 375#define wxUSE_SOUND 1
8d7ddd02
DW
376
377#define wxUSE_REGEX 1
378
379#define wxUSE_FINDREPLDLG 1 // Find replace dialog
f8ed401c 380
f5643147
DW
381#define wxUSE_PALETTE 1
382
4cd411fa
DW
383#define wxUSE_CMDLINE_PARSER 1
384
afa59b4e
DW
385#define wxUSE_SPLASH 1
386
42f2e3e9
DW
387#if (!(defined(WXUSINGDLL) || defined(WXMAKINGDLL)))
388 #define NO_TEXT_WINDOW_STREAM 1 // defined in textctrl.h for DLL builds
389#endif
390
3c299c3a
DW
391#define wxUSE_UNICODE 0
392#define wxUSE_UNICODE_MSLU 0
393
1908260b
DW
394#define wxUSE_DYNLIB_CLASS 1
395 // Compile in wxLibrary class for run-time
396 // DLL loading and function calling
397#define wxUSE_DYNAMIC_LOADER 0
398
c93f804a 399#define wxUSE_WCHAR_T 1
076d1afa
DW
400#define wxUSE_PROTOCOL 1
401#define wxUSE_URL 1
402#define wxUSE_PROTOCOL_HTTP 1
403#define wxUSE_PROTOCOL_FTP 1
404#define wxUSE_PROTOCOL_FILE 1
405
2b5f62a0
VZ
406#define wxUSE_GENERIC_MDI_AS_NATIVE 1
407
0e320a79
DW
408#endif
409 // _WX_SETUP_H_