2008-12-08 04:36:27 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/msw/wince/chkconf.h
|
|
|
|
// Purpose: WinCE-specific configuration options checks
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2005-03-07
|
2009-03-20 05:41:36 +00:00
|
|
|
// RCS-ID: $Id: chkconf.h 55651 2008-09-16 08:03:55Z VZ $
|
2008-12-08 04:36:27 +00:00
|
|
|
// Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MSW_WINCE_CHKCONF_H_
|
|
|
|
#define _WX_MSW_WINCE_CHKCONF_H_
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
|
|
|
#if _WIN32_WCE < 400
|
|
|
|
// not enough API and lack of ddraw.h
|
|
|
|
#undef wxUSE_DISPLAY
|
|
|
|
#define wxUSE_DISPLAY 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
|
|
|
|
#undef wxUSE_IPC
|
|
|
|
#define wxUSE_IPC 0
|
|
|
|
|
2009-03-20 05:41:36 +00:00
|
|
|
// no AUI under CE: it's unnecessary and currently doesn't compile
|
|
|
|
#undef wxUSE_AUI
|
|
|
|
#define wxUSE_AUI 0
|
|
|
|
|
|
|
|
// no MDI under CE
|
|
|
|
#undef wxUSE_MDI
|
|
|
|
#define wxUSE_MDI 0
|
|
|
|
#undef wxUSE_MDI_ARCHITECTURE
|
|
|
|
#define wxUSE_MDI_ARCHITECTURE 0
|
|
|
|
|
2008-12-08 04:36:27 +00:00
|
|
|
// metafiles are not supported neither
|
|
|
|
#undef wxUSE_ENH_METAFILE
|
|
|
|
#define wxUSE_ENH_METAFILE 0
|
|
|
|
|
|
|
|
#undef wxUSE_METAFILE
|
|
|
|
#define wxUSE_METAFILE 0
|
|
|
|
|
|
|
|
// eVC doesn't support SEH
|
|
|
|
#undef wxUSE_ON_FATAL_EXCEPTION
|
|
|
|
#define wxUSE_ON_FATAL_EXCEPTION 0
|
|
|
|
|
|
|
|
#undef wxUSE_WXHTML_HELP
|
|
|
|
#define wxUSE_WXHTML_HELP 0
|
|
|
|
|
|
|
|
// libtiff and regex apparently don't compile with eVC (to check with eVC4?)
|
|
|
|
// and they're disabled for WinCE in build/bakefiles/{tiff|regex}.bkl so can't
|
|
|
|
// be enabled here
|
|
|
|
#undef wxUSE_LIBTIFF
|
|
|
|
#define wxUSE_LIBTIFF 0
|
|
|
|
|
|
|
|
#undef wxUSE_REGEX
|
|
|
|
#define wxUSE_REGEX 0
|
|
|
|
|
|
|
|
#undef wxUSE_DEBUGREPORT
|
|
|
|
#define wxUSE_DEBUGREPORT 0
|
|
|
|
|
|
|
|
// other MSW settings not supported by CE
|
|
|
|
#undef wxUSE_RICHEDIT
|
|
|
|
#define wxUSE_RICHEDIT 0
|
|
|
|
#undef wxUSE_RICHEDIT2
|
|
|
|
#define wxUSE_RICHEDIT2 0
|
|
|
|
|
|
|
|
#undef wxUSE_UXTHEME
|
|
|
|
#define wxUSE_UXTHEME 0
|
|
|
|
#undef wxUSE_UXTHEME_AUTO
|
|
|
|
#define wxUSE_UXTHEME_AUTO 0
|
|
|
|
|
|
|
|
#undef wxUSE_UNICODE_MSLU
|
|
|
|
#define wxUSE_UNICODE_MSLU 0
|
|
|
|
|
|
|
|
|
|
|
|
// Disable features which don't make sense for MS Smartphones
|
|
|
|
// (due to pointer device usage, limited controls or dialogs, file system)
|
|
|
|
#if defined(__SMARTPHONE__)
|
|
|
|
#undef wxUSE_LISTBOOK
|
|
|
|
#define wxUSE_LISTBOOK 0
|
|
|
|
|
|
|
|
#undef wxUSE_NOTEBOOK
|
|
|
|
#define wxUSE_NOTEBOOK 0
|
|
|
|
|
|
|
|
#undef wxUSE_STATUSBAR
|
|
|
|
#define wxUSE_STATUSBAR 0
|
|
|
|
|
|
|
|
#undef wxUSE_COLOURPICKERCTRL
|
|
|
|
#define wxUSE_COLOURPICKERCTRL 0
|
|
|
|
#endif // __SMARTPHONE__
|
|
|
|
|
|
|
|
#endif // _WX_MSW_WINCE_CHKCONF_H_
|
|
|
|
|