d423301cd3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
129 lines
2.2 KiB
C
129 lines
2.2 KiB
C
/*
|
|
* Name: wx/osx/cocoa/chkconf.h
|
|
* Purpose: Compiler-specific configuration checking
|
|
* Author: Stefan Csomor
|
|
* Modified by:
|
|
* Created: 2008-07-30
|
|
* RCS-ID: $Id: chkconf.h 54833 2008-07-29 21:03:18Z SC $
|
|
* Copyright: (c) Stefan Csomor
|
|
* Licence: wxWindows licence
|
|
*/
|
|
|
|
#ifndef _WX_OSX_COCOA_CHKCONF_H_
|
|
#define _WX_OSX_COCOA_CHKCONF_H_
|
|
|
|
/*
|
|
* native (1) or emulated (0) toolbar
|
|
*/
|
|
|
|
#ifndef wxOSX_USE_NATIVE_TOOLBAR
|
|
#define wxOSX_USE_NATIVE_TOOLBAR 1
|
|
#endif
|
|
|
|
/*
|
|
* text rendering system
|
|
*/
|
|
|
|
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
|
|
|
|
#define wxOSX_USE_CORE_TEXT 1
|
|
#define wxOSX_USE_ATSU_TEXT 0
|
|
|
|
#else // platform < 10.5
|
|
|
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
|
|
#define wxOSX_USE_CORE_TEXT 1
|
|
#else
|
|
#define wxOSX_USE_CORE_TEXT 0
|
|
#endif
|
|
#define wxOSX_USE_ATSU_TEXT 1
|
|
|
|
#endif
|
|
|
|
/*
|
|
* turning off capabilities that don't work under cocoa yet
|
|
*/
|
|
|
|
#if wxUSE_MDI
|
|
#undef wxUSE_MDI
|
|
#define wxUSE_MDI 0
|
|
#endif
|
|
|
|
#if wxUSE_MDI_ARCHITECTURE
|
|
#undef wxUSE_MDI_ARCHITECTURE
|
|
#define wxUSE_MDI_ARCHITECTURE 0
|
|
#endif
|
|
|
|
#if wxUSE_DRAG_AND_DROP
|
|
#undef wxUSE_DRAG_AND_DROP
|
|
#define wxUSE_DRAG_AND_DROP 0
|
|
#endif
|
|
|
|
#if wxUSE_TASKBARICON
|
|
#undef wxUSE_TASKBARICON
|
|
#define wxUSE_TASKBARICON 0
|
|
#endif
|
|
|
|
#if wxUSE_TOOLTIPS
|
|
#undef wxUSE_TOOLTIPS
|
|
#define wxUSE_TOOLTIPS 0
|
|
#endif
|
|
|
|
#if wxUSE_DATAVIEWCTRL
|
|
#undef wxUSE_DATAVIEWCTRL
|
|
#define wxUSE_DATAVIEWCTRL 0
|
|
#endif
|
|
|
|
#if wxUSE_DRAG_AND_DROP
|
|
#undef wxUSE_DRAG_AND_DROP
|
|
#define wxUSE_DRAG_AND_DROP 0
|
|
#endif
|
|
|
|
#if wxUSE_TASKBARICON
|
|
#undef wxUSE_TASKBARICON
|
|
#define wxUSE_TASKBARICON 0
|
|
#endif
|
|
|
|
/*
|
|
#if wxUSE_POPUPWIN
|
|
#undef wxUSE_POPUPWIN
|
|
#define wxUSE_POPUPWIN 0
|
|
#endif
|
|
|
|
#if wxUSE_COMBOBOX
|
|
#undef wxUSE_COMBOBOX
|
|
#define wxUSE_COMBOBOX 0
|
|
#endif
|
|
|
|
|
|
#if wxUSE_MENUS
|
|
#undef wxUSE_MENUS
|
|
#define wxUSE_MENUS 0
|
|
#endif
|
|
|
|
#if wxUSE_CALENDARCTRL
|
|
#undef wxUSE_CALENDARCTRL
|
|
#define wxUSE_CALENDARCTRL 0
|
|
#endif
|
|
|
|
#if wxUSE_WXHTML_HELP
|
|
#undef wxUSE_WXHTML_HELP
|
|
#define wxUSE_WXHTML_HELP 0
|
|
#endif
|
|
|
|
#if wxUSE_DOC_VIEW_ARCHITECTURE
|
|
#undef wxUSE_DOC_VIEW_ARCHITECTURE
|
|
#define wxUSE_DOC_VIEW_ARCHITECTURE 0
|
|
#endif
|
|
|
|
#if wxUSE_PRINTING_ARCHITECTURE
|
|
#undef wxUSE_PRINTING_ARCHITECTURE
|
|
#define wxUSE_PRINTING_ARCHITECTURE 0
|
|
#endif
|
|
|
|
*/
|
|
|
|
#endif
|
|
/* _WX_MAC_CHKCONF_H_ */
|
|
|