]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/setup_inc.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / msw / setup_inc.h
CommitLineData
508d12b2
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/setup_inc.h
3// Purpose: MSW-specific setup.h options
4// Author: Vadim Zeitlin
5// Created: 2007-07-21 (extracted from wx/msw/setup0.h)
508d12b2
VZ
6// Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
7// Licence: wxWindows licence
8///////////////////////////////////////////////////////////////////////////////
9
10// ----------------------------------------------------------------------------
11// Windows-only settings
12// ----------------------------------------------------------------------------
13
14// Set wxUSE_UNICODE_MSLU to 1 if you're compiling wxWidgets in Unicode mode
15// and want to run your programs under Windows 9x and not only NT/2000/XP.
16// This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
17// http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note
18// that you will have to modify the makefiles to include unicows.lib import
19// library as the first library (see installation instructions in install.txt
20// to learn how to do it when building the library or samples).
21//
22// If your compiler doesn't have unicows.lib, you can get a version of it at
23// http://libunicows.sourceforge.net
24//
25// Default is 0
26//
27// Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x systems)
28#ifndef wxUSE_UNICODE_MSLU
29 #define wxUSE_UNICODE_MSLU 0
30#endif
31
32// Set this to 1 if you want to use wxWidgets and MFC in the same program. This
33// will override some other settings (see below)
34//
35// Default is 0.
36//
37// Recommended setting: 0 unless you really have to use MFC
38#define wxUSE_MFC 0
39
40// Set this to 1 for generic OLE support: this is required for drag-and-drop,
41// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
42// can't compile/doesn't have the OLE headers.
43//
44// Default is 1.
45//
46// Recommended setting: 1
47#define wxUSE_OLE 1
48
49// Set this to 1 to enable wxAutomationObject class.
50//
51// Default is 1.
52//
53// Recommended setting: 1 if you need to control other applications via OLE
54// Automation, can be safely set to 0 otherwise
55#define wxUSE_OLE_AUTOMATION 1
56
57// Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
58// controls in wx.
59//
60// Default is 1.
61//
62// Recommended setting: 1, required by wxMediaCtrl
63#define wxUSE_ACTIVEX 1
64
d13b34d3 65// wxDC caching implementation
508d12b2
VZ
66#define wxUSE_DC_CACHEING 1
67
68// Set this to 1 to enable wxDIB class used internally for manipulating
69// wxBitmap data.
70//
71// Default is 1, set it to 0 only if you don't use wxImage neither
72//
73// Recommended setting: 1 (without it conversion to/from wxImage won't work)
74#define wxUSE_WXDIB 1
75
76// Set to 0 to disable PostScript print/preview architecture code under Windows
77// (just use Windows printing).
78#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
79
f77c0fe3
VZ
80// Set this to 1 to compile in wxRegKey class.
81//
82// Default is 1
83//
84// Recommended setting: 1, this is used internally by wx in a few places
85#define wxUSE_REGKEY 1
86
508d12b2
VZ
87// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
88// which allows to put more than ~32Kb of text in it even under Win9x (NT
89// doesn't have such limitation).
90//
91// Default is 1 for compilers which support it
92//
93// Recommended setting: 1, only set it to 0 if your compiler doesn't have
94// or can't compile <richedit.h>
95#define wxUSE_RICHEDIT 1
96
97// Set this to 1 to use extra features of richedit v2 and later controls
98//
99// Default is 1 for compilers which support it
100//
101// Recommended setting: 1
102#define wxUSE_RICHEDIT2 1
103
104// Set this to 1 to enable support for the owner-drawn menu and listboxes. This
105// is required by wxUSE_CHECKLISTBOX.
106//
107// Default is 1.
108//
109// Recommended setting: 1, set to 0 for a small library size reduction
110#define wxUSE_OWNER_DRAWN 1
111
23bd008a
VZ
112// Set this to 1 to enable MSW-specific wxTaskBarIcon::ShowBalloon() method. It
113// is required by native wxNotificationMessage implementation.
114//
115// Default is 1 but disabled in wx/msw/chkconf.h if SDK is too old to contain
116// the necessary declarations.
117//
118// Recommended setting: 1, set to 0 for a tiny library size reduction
119#define wxUSE_TASKBARICON_BALLOONS 1
120
508d12b2
VZ
121// Set to 1 to compile MS Windows XP theme engine support
122#define wxUSE_UXTHEME 1
123
508d12b2
VZ
124// Set to 1 to use InkEdit control (Tablet PC), if available
125#define wxUSE_INKEDIT 0
126
61873536
VZ
127// Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
128//
129// Default is 0.
130//
131// Recommended setting: 0, nobody uses .INI files any more
132#define wxUSE_INICONF 0
133
508d12b2
VZ
134// ----------------------------------------------------------------------------
135// Generic versions of native controls
136// ----------------------------------------------------------------------------
137
138// Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
139// native wxDatePickerCtrl
140//
141// Default is 0.
142//
143// Recommended setting: 0, this is mainly used for testing
144#define wxUSE_DATEPICKCTRL_GENERIC 0
145
569c7d8c
VZ
146// Set this to 1 to be able to use wxTimePickerCtrlGeneric in addition to the
147// native wxTimePickerCtrl for the platforms that have the latter (MSW).
148//
149// Default is 0.
150//
151// Recommended setting: 0, this is mainly used for testing
152#define wxUSE_TIMEPICKCTRL_GENERIC 0
153
508d12b2
VZ
154// ----------------------------------------------------------------------------
155// Crash debugging helpers
156// ----------------------------------------------------------------------------
157
158// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
159// dumps of your program when it crashes (or at any other moment)
160//
161// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
162//
163// Recommended setting: 1, set to 0 if your programs never crash
164#define wxUSE_CRASHREPORT 1