2008-06-11 12:30:48 -04:00
|
|
|
/*
|
2008-07-30 11:01:58 -04:00
|
|
|
* Name: wx/osx/carbon/chkconf.h
|
2008-06-11 12:30:48 -04:00
|
|
|
* Purpose: Compiler-specific configuration checking
|
|
|
|
* Author: Julian Smart
|
|
|
|
* Modified by:
|
|
|
|
* Created: 01/02/97
|
|
|
|
* RCS-ID: $Id$
|
|
|
|
* Copyright: (c) Julian Smart
|
|
|
|
* Licence: wxWindows licence
|
|
|
|
*/
|
|
|
|
|
2008-07-30 11:01:58 -04:00
|
|
|
#ifndef _WX_OSX_CARBON_CHKCONF_H_
|
|
|
|
#define _WX_OSX_CARBON_CHKCONF_H_
|
2008-06-11 12:30:48 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* native (1) or emulated (0) toolbar
|
2008-07-30 11:01:58 -04:00
|
|
|
* also support old notation wxMAC_USE_NATIVE_TOOLBAR
|
2008-06-11 12:30:48 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-30 11:01:58 -04:00
|
|
|
#ifdef wxMAC_USE_NATIVE_TOOLBAR
|
|
|
|
#define wxOSX_USE_NATIVE_TOOLBAR wxMAC_USE_NATIVE_TOOLBAR
|
2008-07-29 16:35:29 -04:00
|
|
|
#endif
|
|
|
|
|
2008-07-30 11:01:58 -04:00
|
|
|
#ifndef wxOSX_USE_NATIVE_TOOLBAR
|
|
|
|
#define wxOSX_USE_NATIVE_TOOLBAR 1
|
2008-07-29 16:35:29 -04:00
|
|
|
#endif
|
|
|
|
|
2008-06-11 12:30:48 -04:00
|
|
|
/*
|
|
|
|
* text rendering system
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
|
|
|
|
|
2008-07-30 11:01:58 -04:00
|
|
|
#define wxOSX_USE_CORE_TEXT 1
|
|
|
|
#define wxOSX_USE_ATSU_TEXT 0
|
2008-06-11 12:30:48 -04:00
|
|
|
|
|
|
|
#else // platform < 10.5
|
|
|
|
|
2008-07-29 16:35:29 -04:00
|
|
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
|
2008-07-30 11:01:58 -04:00
|
|
|
#define wxOSX_USE_CORE_TEXT 1
|
2008-07-29 16:35:29 -04:00
|
|
|
#else
|
2008-07-30 11:01:58 -04:00
|
|
|
#define wxOSX_USE_CORE_TEXT 0
|
2008-07-29 16:35:29 -04:00
|
|
|
#endif
|
2008-07-30 11:01:58 -04:00
|
|
|
#define wxOSX_USE_ATSU_TEXT 1
|
2008-06-11 12:30:48 -04:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2008-07-30 11:01:58 -04:00
|
|
|
/* _WX_OSX_CARBON_CHKCONF_H_ */
|
2008-06-11 12:30:48 -04:00
|
|
|
|