56d51c311a
Define it in wx/msw/setup_inc.h and not in wx/msw/setup0.h itself to ensure that it survives the regeneration of this file using build/update-setup-h. Also only set wxUSE_GRAPHICS_DIRECT2D to 1 for VC10+ and not VC9 as the latter lacks Direct2D header in its default SDK version. Finally also update comments to explain the various settings more clearly and remove outdated information (wxGraphicsContext is not experimental any more). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
185 lines
6.3 KiB
C
185 lines
6.3 KiB
C
///////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/msw/setup_inc.h
|
|
// Purpose: MSW-specific setup.h options
|
|
// Author: Vadim Zeitlin
|
|
// Created: 2007-07-21 (extracted from wx/msw/setup0.h)
|
|
// Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
|
|
// Licence: wxWindows licence
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Graphics backends choices for Windows
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// The options here are only taken into account if wxUSE_GRAPHICS_CONTEXT is 1.
|
|
|
|
// Enable support for GDI+-based implementation of wxGraphicsContext.
|
|
//
|
|
// Default is 1.
|
|
//
|
|
// Recommended setting: 1 if you need to support XP, as Direct2D is not
|
|
// available there.
|
|
#define wxUSE_GRAPHICS_GDIPLUS 1
|
|
|
|
// Enable support for Direct2D-based implementation of wxGraphicsContext.
|
|
//
|
|
// Default is 1 for compilers which support it, i.e. VC10+ currently. If you
|
|
// use an earlier MSVC version or another compiler and installed the necessary
|
|
// SDK components manually, you need to change this setting.
|
|
//
|
|
// Recommended setting: 1 for faster and better quality graphics under Windows
|
|
// 7 and later systems (if wxUSE_GRAPHICS_GDIPLUS is also enabled, earlier
|
|
// systems will fall back on using GDI+).
|
|
#if defined(_MSC_VER) && _MSC_VER >= 1600
|
|
#define wxUSE_GRAPHICS_DIRECT2D 1
|
|
#else
|
|
#define wxUSE_GRAPHICS_DIRECT2D 0
|
|
#endif
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Windows-only settings
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Set this to 1 if you want to use wxWidgets and MFC in the same program. This
|
|
// will override some other settings (see below)
|
|
//
|
|
// Default is 0.
|
|
//
|
|
// Recommended setting: 0 unless you really have to use MFC
|
|
#define wxUSE_MFC 0
|
|
|
|
// Set this to 1 for generic OLE support: this is required for drag-and-drop,
|
|
// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and
|
|
// can't compile/doesn't have the OLE headers.
|
|
//
|
|
// Default is 1.
|
|
//
|
|
// Recommended setting: 1
|
|
#define wxUSE_OLE 1
|
|
|
|
// Set this to 1 to enable wxAutomationObject class.
|
|
//
|
|
// Default is 1.
|
|
//
|
|
// Recommended setting: 1 if you need to control other applications via OLE
|
|
// Automation, can be safely set to 0 otherwise
|
|
#define wxUSE_OLE_AUTOMATION 1
|
|
|
|
// Set this to 1 to enable wxActiveXContainer class allowing to embed OLE
|
|
// controls in wx.
|
|
//
|
|
// Default is 1.
|
|
//
|
|
// Recommended setting: 1, required by wxMediaCtrl
|
|
#define wxUSE_ACTIVEX 1
|
|
|
|
// wxDC caching implementation
|
|
#define wxUSE_DC_CACHEING 1
|
|
|
|
// Set this to 1 to enable wxDIB class used internally for manipulating
|
|
// wxBitmap data.
|
|
//
|
|
// Default is 1, set it to 0 only if you don't use wxImage neither
|
|
//
|
|
// Recommended setting: 1 (without it conversion to/from wxImage won't work)
|
|
#define wxUSE_WXDIB 1
|
|
|
|
// Set to 0 to disable PostScript print/preview architecture code under Windows
|
|
// (just use Windows printing).
|
|
#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
|
|
|
|
// Set this to 1 to compile in wxRegKey class.
|
|
//
|
|
// Default is 1
|
|
//
|
|
// Recommended setting: 1, this is used internally by wx in a few places
|
|
#define wxUSE_REGKEY 1
|
|
|
|
// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH
|
|
// which allows to put more than ~32Kb of text in it even under Win9x (NT
|
|
// doesn't have such limitation).
|
|
//
|
|
// Default is 1 for compilers which support it
|
|
//
|
|
// Recommended setting: 1, only set it to 0 if your compiler doesn't have
|
|
// or can't compile <richedit.h>
|
|
#define wxUSE_RICHEDIT 1
|
|
|
|
// Set this to 1 to use extra features of richedit v2 and later controls
|
|
//
|
|
// Default is 1 for compilers which support it
|
|
//
|
|
// Recommended setting: 1
|
|
#define wxUSE_RICHEDIT2 1
|
|
|
|
// Set this to 1 to enable support for the owner-drawn menu and listboxes. This
|
|
// is required by wxUSE_CHECKLISTBOX.
|
|
//
|
|
// Default is 1.
|
|
//
|
|
// Recommended setting: 1, set to 0 for a small library size reduction
|
|
#define wxUSE_OWNER_DRAWN 1
|
|
|
|
// Set this to 1 to enable MSW-specific wxTaskBarIcon::ShowBalloon() method. It
|
|
// is required by native wxNotificationMessage implementation.
|
|
//
|
|
// Default is 1 but disabled in wx/msw/chkconf.h if SDK is too old to contain
|
|
// the necessary declarations.
|
|
//
|
|
// Recommended setting: 1, set to 0 for a tiny library size reduction
|
|
#define wxUSE_TASKBARICON_BALLOONS 1
|
|
|
|
// Set this to 1 to enable following functionality added in Windows 7: thumbnail
|
|
// representations, thumbnail toolbars, notification and status overlays,
|
|
// progress indicators and jump lists.
|
|
//
|
|
// Default is 1.
|
|
//
|
|
// Recommended setting: 1, set to 0 for a tiny library size reduction
|
|
#define wxUSE_TASKBARBUTTON 1
|
|
|
|
// Set to 1 to compile MS Windows XP theme engine support
|
|
#define wxUSE_UXTHEME 1
|
|
|
|
// Set to 1 to use InkEdit control (Tablet PC), if available
|
|
#define wxUSE_INKEDIT 0
|
|
|
|
// Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
|
|
//
|
|
// Default is 0.
|
|
//
|
|
// Recommended setting: 0, nobody uses .INI files any more
|
|
#define wxUSE_INICONF 0
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Generic versions of native controls
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the
|
|
// native wxDatePickerCtrl
|
|
//
|
|
// Default is 0.
|
|
//
|
|
// Recommended setting: 0, this is mainly used for testing
|
|
#define wxUSE_DATEPICKCTRL_GENERIC 0
|
|
|
|
// Set this to 1 to be able to use wxTimePickerCtrlGeneric in addition to the
|
|
// native wxTimePickerCtrl for the platforms that have the latter (MSW).
|
|
//
|
|
// Default is 0.
|
|
//
|
|
// Recommended setting: 0, this is mainly used for testing
|
|
#define wxUSE_TIMEPICKCTRL_GENERIC 0
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Crash debugging helpers
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
|
|
// dumps of your program when it crashes (or at any other moment)
|
|
//
|
|
// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
|
|
//
|
|
// Recommended setting: 1, set to 0 if your programs never crash
|
|
#define wxUSE_CRASHREPORT 1
|