]>
git.saurik.com Git - wxWidgets.git/blob - 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)
7 // Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 // ----------------------------------------------------------------------------
12 // Windows-only settings
13 // ----------------------------------------------------------------------------
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).
23 // If your compiler doesn't have unicows.lib, you can get a version of it at
24 // http://libunicows.sourceforge.net
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
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)
38 // Recommended setting: 0 unless you really have to use MFC
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.
47 // Recommended setting: 1
50 // Set this to 1 to enable wxAutomationObject class.
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
58 // Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
63 // Recommended setting: 1, required by wxMediaCtrl
64 #define wxUSE_ACTIVEX 1
66 // wxDC cacheing implementation
67 #define wxUSE_DC_CACHEING 1
69 // Set this to 1 to enable wxDIB class used internally for manipulating
72 // Default is 1, set it to 0 only if you don't use wxImage neither
74 // Recommended setting: 1 (without it conversion to/from wxImage won't work)
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
81 // Set this to 1 to compile in wxRegKey class.
85 // Recommended setting: 1, this is used internally by wx in a few places
86 #define wxUSE_REGKEY 1
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).
92 // Default is 1 for compilers which support it
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
98 // Set this to 1 to use extra features of richedit v2 and later controls
100 // Default is 1 for compilers which support it
102 // Recommended setting: 1
103 #define wxUSE_RICHEDIT2 1
105 // Set this to 1 to enable support for the owner-drawn menu and listboxes. This
106 // is required by wxUSE_CHECKLISTBOX.
110 // Recommended setting: 1, set to 0 for a small library size reduction
111 #define wxUSE_OWNER_DRAWN 1
113 // Set to 1 to compile MS Windows XP theme engine support
114 #define wxUSE_UXTHEME 1
116 // Set to 1 to use InkEdit control (Tablet PC), if available
117 #define wxUSE_INKEDIT 0
119 // ----------------------------------------------------------------------------
120 // Generic versions of native controls
121 // ----------------------------------------------------------------------------
123 // Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
124 // native wxDatePickerCtrl
128 // Recommended setting: 0, this is mainly used for testing
129 #define wxUSE_DATEPICKCTRL_GENERIC 0
131 // ----------------------------------------------------------------------------
132 // Crash debugging helpers
133 // ----------------------------------------------------------------------------
135 // Set this to 1 to be able to use wxCrashReport::Generate() to create mini
136 // dumps of your program when it crashes (or at any other moment)
138 // Default is 1 if supported by the compiler (VC++ and recent BC++ only).
140 // Recommended setting: 1, set to 0 if your programs never crash
141 #define wxUSE_CRASHREPORT 1
143 // ----------------------------------------------------------------------------
145 // ----------------------------------------------------------------------------
147 // NB: all settings in this section are obsolete and should not be used/changed
148 // at all, they will disappear
150 // Define 1 to use bitmap messages.
151 #define wxUSE_BITMAP_MESSAGE 1