2005-03-07 17:42:59 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2005-12-11 11:11:15 -05:00
|
|
|
// Name: wx/msw/wince/chkconf.h
|
2005-03-07 17:42:59 -05:00
|
|
|
// Purpose: WinCE-specific configuration options checks
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2005-03-07
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MSW_WINCE_CHKCONF_H_
|
|
|
|
#define _WX_MSW_WINCE_CHKCONF_H_
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Disable features which don't work or don't make sense under CE
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// please keep the list in alphabetic order except for closely related settings
|
|
|
|
// (e.g. wxUSE_ENH_METAFILE is put immediately after wxUSE_METAFILE)
|
|
|
|
|
|
|
|
#undef wxUSE_DEBUGREPORT
|
|
|
|
#define wxUSE_DEBUGREPORT 0
|
2005-03-07 17:42:59 -05:00
|
|
|
|
2005-12-11 11:11:15 -05:00
|
|
|
#if _WIN32_WCE < 400
|
|
|
|
// not enough API and lack of ddraw.h
|
|
|
|
#undef wxUSE_DISPLAY
|
|
|
|
#define wxUSE_DISPLAY 0
|
|
|
|
#endif
|
|
|
|
|
2009-04-25 09:08:38 -04:00
|
|
|
// eVC doesn't have standard streams
|
2009-04-25 09:16:59 -04:00
|
|
|
#ifdef __EVC4__
|
2009-04-25 09:08:38 -04:00
|
|
|
#undef wxUSE_STD_IOSTREAM
|
|
|
|
#define wxUSE_STD_IOSTREAM 0
|
|
|
|
#endif
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
// wxFSVolume currently doesn't compile under CE and it's not clear if it makes
|
|
|
|
// sense at all there (the drives and their names are fixed on CE systems)
|
|
|
|
#undef wxUSE_FSVOLUME
|
|
|
|
#define wxUSE_FSVOLUME 0
|
|
|
|
|
|
|
|
// no .INI files API under CE
|
|
|
|
#undef wxUSE_INICONF
|
|
|
|
#define wxUSE_INICONF 0
|
|
|
|
|
2005-03-10 14:11:57 -05:00
|
|
|
// DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
|
|
|
|
#undef wxUSE_IPC
|
|
|
|
#define wxUSE_IPC 0
|
|
|
|
|
2007-07-29 10:27:49 -04:00
|
|
|
// doesn't make sense for CE devices and doesn't compile anyhow
|
|
|
|
#undef wxUSE_JOYSTICK
|
|
|
|
#define wxUSE_JOYSTICK 0
|
|
|
|
|
2008-02-24 18:24:22 -05:00
|
|
|
// libtiff doesn't build with eVC but is ok with VC8
|
2009-04-25 09:16:59 -04:00
|
|
|
#ifdef __EVC4__
|
2008-02-24 18:24:22 -05:00
|
|
|
#undef wxUSE_LIBTIFF
|
|
|
|
#define wxUSE_LIBTIFF 0
|
|
|
|
#endif
|
2007-07-27 12:34:24 -04:00
|
|
|
|
2008-09-16 04:03:55 -04:00
|
|
|
// no AUI under CE: it's unnecessary and currently doesn't compile
|
|
|
|
#undef wxUSE_AUI
|
|
|
|
#define wxUSE_AUI 0
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
// no MDI under CE
|
|
|
|
#undef wxUSE_MDI
|
|
|
|
#define wxUSE_MDI 0
|
|
|
|
#undef wxUSE_MDI_ARCHITECTURE
|
|
|
|
#define wxUSE_MDI_ARCHITECTURE 0
|
|
|
|
|
2005-03-10 14:11:57 -05:00
|
|
|
// metafiles are not supported neither
|
2007-07-27 12:34:24 -04:00
|
|
|
#undef wxUSE_METAFILE
|
|
|
|
#define wxUSE_METAFILE 0
|
2005-03-10 14:11:57 -05:00
|
|
|
#undef wxUSE_ENH_METAFILE
|
|
|
|
#define wxUSE_ENH_METAFILE 0
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
// not sure if this is supported by CE but it doesn't compile currently anyhow
|
|
|
|
#undef wxUSE_MS_HTML_HELP
|
|
|
|
#define wxUSE_MS_HTML_HELP 0
|
2005-03-10 14:11:57 -05:00
|
|
|
|
|
|
|
// eVC doesn't support SEH
|
|
|
|
#undef wxUSE_ON_FATAL_EXCEPTION
|
|
|
|
#define wxUSE_ON_FATAL_EXCEPTION 0
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
// no owner drawn controls (not sure if this is possible at all but in any case
|
|
|
|
// the code doesn't currently compile)
|
|
|
|
#undef wxUSE_OWNER_DRAWN
|
|
|
|
#define wxUSE_OWNER_DRAWN 0
|
2005-03-11 02:32:27 -05:00
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
#undef wxUSE_PRINTING_ARCHITECTURE
|
|
|
|
#define wxUSE_PRINTING_ARCHITECTURE 0
|
2005-03-10 14:11:57 -05:00
|
|
|
|
2008-02-24 18:24:22 -05:00
|
|
|
// regex doesn't build with eVC but is ok with VC8
|
2009-04-25 09:16:59 -04:00
|
|
|
#ifdef __EVC4__
|
2008-02-24 18:24:22 -05:00
|
|
|
#undef wxUSE_REGEX
|
|
|
|
#define wxUSE_REGEX 0
|
|
|
|
#endif
|
2005-03-10 14:11:57 -05:00
|
|
|
|
2005-07-30 08:46:11 -04:00
|
|
|
#undef wxUSE_RICHEDIT
|
|
|
|
#define wxUSE_RICHEDIT 0
|
|
|
|
#undef wxUSE_RICHEDIT2
|
|
|
|
#define wxUSE_RICHEDIT2 0
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
// Standard SDK lacks a few things, forcefully disable them
|
|
|
|
#ifdef WCE_PLATFORM_STANDARDSDK
|
|
|
|
// no shell functions support
|
|
|
|
#undef wxUSE_STDPATHS
|
|
|
|
#define wxUSE_STDPATHS 0
|
|
|
|
#endif // WCE_PLATFORM_STANDARDSDK
|
|
|
|
|
2008-02-24 18:24:22 -05:00
|
|
|
// there is no support for balloon taskbar icons
|
|
|
|
#undef wxUSE_TASKBARICON_BALLOONS
|
|
|
|
#define wxUSE_TASKBARICON_BALLOONS 0
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
// not sure if this is supported by eVC but VC8 SDK lacks the tooltips control
|
|
|
|
// related declarations
|
2008-02-24 18:24:22 -05:00
|
|
|
#if wxCHECK_VISUALC_VERSION(8)
|
2007-07-27 12:34:24 -04:00
|
|
|
#undef wxUSE_TOOLTIPS
|
|
|
|
#define wxUSE_TOOLTIPS 0
|
|
|
|
#endif
|
2005-07-30 08:46:11 -04:00
|
|
|
|
|
|
|
#undef wxUSE_UNICODE_MSLU
|
|
|
|
#define wxUSE_UNICODE_MSLU 0
|
|
|
|
|
2007-07-27 12:34:24 -04:00
|
|
|
#undef wxUSE_UXTHEME
|
|
|
|
#define wxUSE_UXTHEME 0
|
|
|
|
|
|
|
|
#undef wxUSE_WXHTML_HELP
|
|
|
|
#define wxUSE_WXHTML_HELP 0
|
|
|
|
|
|
|
|
|
2005-03-13 10:26:54 -05:00
|
|
|
// Disable features which don't make sense for MS Smartphones
|
2006-07-06 03:07:52 -04:00
|
|
|
// (due to pointer device usage, limited controls or dialogs, file system)
|
2005-03-10 14:11:57 -05:00
|
|
|
#if defined(__SMARTPHONE__)
|
|
|
|
#undef wxUSE_LISTBOOK
|
|
|
|
#define wxUSE_LISTBOOK 0
|
|
|
|
|
|
|
|
#undef wxUSE_NOTEBOOK
|
|
|
|
#define wxUSE_NOTEBOOK 0
|
|
|
|
|
|
|
|
#undef wxUSE_STATUSBAR
|
|
|
|
#define wxUSE_STATUSBAR 0
|
2006-07-06 03:07:52 -04:00
|
|
|
|
|
|
|
#undef wxUSE_COLOURPICKERCTRL
|
|
|
|
#define wxUSE_COLOURPICKERCTRL 0
|
2007-07-19 11:47:11 -04:00
|
|
|
|
|
|
|
#undef wxUSE_COLOURDLG
|
|
|
|
#define wxUSE_COLOURDLG 0
|
2005-03-10 14:11:57 -05:00
|
|
|
#endif // __SMARTPHONE__
|
|
|
|
|
2005-03-07 17:42:59 -05:00
|
|
|
#endif // _WX_MSW_WINCE_CHKCONF_H_
|
|
|
|
|