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