]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/setup.h
Added wxNotebook::SetText and SetImage (thanks Harm)
[wxWidgets.git] / include / wx / msw / setup.h
... / ...
CommitLineData
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 * General features
17 *
18 */
19
20#define wxUSE_CONFIG 1
21 // Use wxConfig, with CreateConfig in wxApp
22#define _WX_GOODCOMPILER__
23 // gcc can have problems, but Windows compilers
24 // are generally OK.
25#define WXWIN_COMPATIBILITY 1
26 // Compatibility with 1.66 API.
27 // Level 0: no backward compatibility, all new features
28 // Level 1: wxDC, OnSize (etc.) compatibility, but
29 // some new features such as event tables
30
31#define wxUSE_AUTOTRANS 1
32 // Define wxTString
33#define wxUSE_POSTSCRIPT 0
34 // 0 for no PostScript device context
35#define wxUSE_AFM_FOR_POSTSCRIPT 0
36 // 1 to use font metric files in GetTextExtent
37#define wxUSE_METAFILE 1
38 // 0 for no Metafile and metafile device context
39#define wxUSE_FORM 0
40 // 0 for no wxForm
41#define wxUSE_IPC 1
42 // 0 for no interprocess comms
43// Note: wxHELP uses IPC under X so these are interdependent!
44#define wxUSE_HELP 1
45 // 0 for no help facility
46#define wxUSE_RESOURCES 1
47 // 0 for no wxGetResource/wxWriteResource
48#define wxUSE_CONSTRAINTS 1
49 // 0 for no window layout constraint system
50
51#define wxUSE_TIMEDATE 1
52 // 0 for no wxTime/wxDate classes
53
54#define wxUSE_CLIPBOARD 1
55 // 0 for no clipboard functions
56#define wxUSE_SPLINES 1
57 // 0 for no splines
58#define wxUSE_XFIG_SPLINE_CODE 1
59 // 1 for XFIG spline code, 0 for AIAI spline code.
60// AIAI spline code is slower, but freer of copyright issues.
61
62#define wxUSE_DRAG_AND_DROP 1
63 // 0 for no drag and drop
64
65#define wxUSE_TOOLBAR 1
66 // Define 1 to use toolbar classes
67#define wxUSE_BUTTONBAR 1
68 // Define 1 to use buttonbar classes (enhanced toolbar
69 // for MS Windows)
70#define wxUSE_GAUGE 1
71 // Define 1 to use Microsoft's gauge (Windows)
72 // or Bull's gauge (Motif) library (both in contrib).
73#define wxUSE_COMBOBOX 1
74 // Define 1 to use COMBOXBOX control (Windows)
75 // or FWW's ComboBox widget (Motif).
76#define wxUSE_RADIOBUTTON 1
77 // Define 1 to use radio button control
78
79#define wxUSE_SCROLLBAR 1
80 // Define 1 to compile contributed wxScrollBar class
81#define wxUSE_XPM_IN_MSW 0
82 // Define 1 to support the XPM package in wxBitmap.
83#define wxUSE_IMAGE_LOADING_IN_MSW 1
84 // Use dynamic DIB loading/saving code in utils/dib under MSW.
85#define wxUSE_RESOURCE_LOADING_IN_MSW 1
86 // Use dynamic icon/cursor loading/saving code
87 // under MSW.
88#define wxUSE_WX_RESOURCES 1
89 // Use .wxr resource mechanism (requires PrologIO library)
90
91#define HAVE_SOCKET 1
92 // Use WinSock if 1
93#define wxUSE_DOC_VIEW_ARCHITECTURE 1
94 // Set to 0 to disable document/view architecture
95#define wxUSE_PRINTING_ARCHITECTURE 1
96 // Set to 0 to disable print/preview architecture code
97#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
98 // Set to 0 to disable PostScript print/preview architecture code
99 // under Windows (just use Windows printing).
100#define wxUSE_DYNAMIC_CLASSES 1
101 // If 1, enables provision of run-time type information.
102 // NOW MANDATORY: don't change.
103#define wxUSE_MEMORY_TRACING 1
104 // If 1, enables debugging versions of wxObject::new and
105 // wxObject::delete *IF* __WXDEBUG__ is also defined.
106 // WARNING: this code may not work with all architectures, especially
107 // if alignment is an issue.
108#define wxUSE_DEBUG_CONTEXT 1
109 // If 1, enables wxDebugContext, for
110 // writing error messages to file, etc.
111 // If __WXDEBUG__ is not defined, will still use
112 // normal memory operators.
113 // It's recommended to set this to 1,
114 // since you may well need to output
115 // an error log in a production
116 // version (or non-debugging beta)
117#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
118 // In debug mode, cause new and delete to be redefined globally.
119 // If this causes problems (e.g. link errors), set this to 0.
120
121#define wxUSE_DEBUG_NEW_ALWAYS 1
122 // In debug mode, causes new to be defined to
123 // be WXDEBUG_NEW (see object.h).
124 // If this causes problems (e.g. link errors), set this to 0.
125
126#define REMOVE_UNUSED_ARG 1
127 // Set this to 0 if your compiler can't cope
128 // with omission of prototype parameters.
129
130#define wxUSE_C_MAIN 0
131 // Set to 1 to use main.c instead of main.cpp (UNIX only)
132
133#define wxUSE_ODBC 1
134 // Define 1 to use ODBC classes
135
136#ifndef __MWERKS__
137#define wxUSE_IOSTREAMH 1
138#else
139#define wxUSE_IOSTREAMH 0
140#endif
141 // VC++ 4.2 and above allows <iostream> and <iostream.h>
142 // but you can't mix them. Set to 1 for <iostream.h>,
143 // 0 for <iostream>
144
145
146#define wxUSE_WXCONFIG 1
147 // if enabled, compiles built-in OS independent wxConfig
148 // class and it's file (any platform) and registry (Win)
149 // based implementations
150/*
151 * Finer detail
152 *
153 */
154
155#define wxUSE_APPLE_IEEE 1
156 // if enabled, the float codec written by Apple
157 // will be used to write, in a portable way,
158 // float on the disk
159
160/*
161 * MS Windows/Windows NT
162 *
163 */
164
165#if defined(__WIN95__)
166#define CTL3D 0
167#else
168#define CTL3D 1
169 // Define 1 to use Microsoft CTL3D library.
170 // See note above about using FAFA and CTL3D.
171#endif
172
173#define wxUSE_COMMON_DIALOGS 1
174 // On rare occasions (e.g. using DJGPP) may want
175 // to omit common dialogs
176 // (e.g. file selector, printer dialog).
177 // Switching this off also switches off
178 // the printing architecture and interactive
179 // wxPrinterDC.
180#define wxUSE_ITSY_BITSY 1
181 // Define 1 to use Microsoft's ItsyBitsy
182 // small title bar library, for wxMiniFrame
183#define wxUSE_BITMAP_MESSAGE 1
184 // Define 1 to use bitmap messages.
185#define wxUSE_PORTABLE_FONTS_IN_MSW 0
186 // Define 1 to use new portable font scheme in Windows
187 // (used by default under X)
188#define FONT_SIZE_COMPATIBILITY 0
189 // Define 1 for font size to be backward compatible
190 // to 1.63 and earlier. 1.64 and later define point
191 // sizes to be compatible with Windows.
192#define wxUSE_GENERIC_DIALOGS_IN_MSW 1
193 // Define 1 to use generic dialogs in Windows, even though
194 // they duplicate native common dialog (e.g. wxColourDialog)
195#define wxUSE_PENWINDOWS 0
196 // Set to 1 to use PenWindows
197
198#define wxUSE_OWNER_DRAWN 1
199 // Owner-drawn menus and listboxes
200
201#define wxUSE_NATIVE_STATUSBAR 1
202 // Set to 0 to use cross-platform wxStatusBar
203#define wxUSE_DBWIN32 1
204 // Use Andrew Tucker's OutputDebugString implementation
205 // (required on Win95 only). See utils.cpp.
206
207/*
208 * Any platform
209 *
210 */
211
212#define wxUSE_TYPEDEFS 0
213 // Use typedefs not classes for wxPoint
214 // and others, to reduce overhead and avoid
215 // MS C7 memory bug. Bounds checker
216 // complains about deallocating
217 // arrays of wxPoints if wxPoint is a class.
218
219#if (!defined(WIN32) && !defined(__WIN32__)) || defined(__GNUWIN32__) || defined(__BORLANDC__)
220// Can't use OLE drag and drop in Windows 3.1 because we don't know how
221// to implement UUIDs
222// GnuWin32 doesn't have appropriate headers for e.g. IUnknown.
223#undef wxUSE_DRAG_AND_DROP
224#define wxUSE_DRAG_AND_DROP 0
225#endif
226
227// Only WIN32 supports wxStatusBar95
228#if !defined(__WIN32__) && wxUSE_NATIVE_STATUSBAR
229#undef wxUSE_NATIVE_STATUSBAR
230#define wxUSE_NATIVE_STATUSBAR 0
231#endif
232
233// Minimal setup e.g. for compiling small utilities
234#define MINIMAL_WXWINDOWS_SETUP 0
235
236#if MINIMAL_WXWINDOWS_SETUP
237#undef wxUSE_POSTSCRIPT
238# define wxUSE_POSTSCRIPT 0
239#undef wxUSE_PRINTING_ARCHITECTURE
240# define wxUSE_PRINTING_ARCHITECTURE 0
241#undef wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
242# define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
243#undef wxUSE_METAFILE
244# define wxUSE_METAFILE 0
245#undef wxUSE_FORM
246# define wxUSE_FORM 0
247#undef wxUSE_SPLINES
248# define wxUSE_SPLINES 0
249#undef wxUSE_SCROLLBAR
250# define wxUSE_SCROLLBAR 0
251#undef wxUSE_COMBOBOX
252# define wxUSE_COMBOBOX 0
253#undef wxUSE_RADIOBUTTON
254# define wxUSE_RADIOBUTTON 0
255#undef wxUSE_XPM_IN_MSW
256# define wxUSE_XPM_IN_MSW 0
257#undef wxUSE_WX_RESOURCES
258# define wxUSE_WX_RESOURCES 0
259#undef wxUSE_DOC_VIEW_ARCHITECTURE
260# define wxUSE_DOC_VIEW_ARCHITECTURE 0
261#undef wxUSE_GNU_WXSTRING
262# define wxUSE_GNU_WXSTRING 0
263#undef wxUSE_ODBC
264# define wxUSE_ODBC 0
265#undef wxUSE_TIMEDATE
266# define wxUSE_TIMEDATE 0
267#undef CTL3D
268# define CTL3D 0
269#undef wxUSE_ITSY_BITSY
270# define wxUSE_ITSY_BITSY 0
271#undef wxUSE_IMAGE_LOADING_IN_MSW
272# define wxUSE_IMAGE_LOADING_IN_MSW 0
273#undef wxUSE_GAUGE
274# define wxUSE_GAUGE 0
275#undef wxUSE_RESOURCE_LOADING_IN_MSW
276# define wxUSE_RESOURCE_LOADING_IN_MSW 0
277#undef wxUSE_DRAG_AND_DROP
278# define wxUSE_DRAG_AND_DROP 0
279#endif
280
281#endif
282 // _WX_SETUP_H_