2004-03-23 17:35:05 +00:00
|
|
|
/*
|
|
|
|
* Name: wx/mac/chkconf.h
|
|
|
|
* Purpose: Compiler-specific configuration checking
|
|
|
|
* Author: Julian Smart
|
|
|
|
* Modified by:
|
|
|
|
* Created: 01/02/97
|
|
|
|
* RCS-ID: $Id$
|
|
|
|
* Copyright: (c) Julian Smart
|
2004-05-23 20:53:33 +00:00
|
|
|
* Licence: wxWindows licence
|
2004-03-23 17:35:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _WX_MAC_CHKCONF_H_
|
|
|
|
#define _WX_MAC_CHKCONF_H_
|
|
|
|
|
|
|
|
/*
|
|
|
|
* disable the settings which don't work for some compilers
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(__MWERKS__)
|
|
|
|
#undef wxUSE_DEBUG_NEW_ALWAYS
|
|
|
|
#define wxUSE_DEBUG_NEW_ALWAYS 0
|
2005-06-02 13:12:06 +00:00
|
|
|
|
|
|
|
/* DS: Fixes compilation when wxUSE_FATAL_EXCEPTION is 1 */
|
|
|
|
#ifndef wxTYPE_SA_HANDLER
|
|
|
|
#define wxTYPE_SA_HANDLER int
|
|
|
|
#endif
|
2004-03-23 17:35:05 +00:00
|
|
|
#endif
|
|
|
|
|
2005-02-12 11:34:05 +00:00
|
|
|
/*
|
|
|
|
* use OS X CoreGraphics (1) or QuickDraw (0) for rendering
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef wxMAC_USE_CORE_GRAPHICS
|
2006-10-09 12:10:24 +00:00
|
|
|
#define wxMAC_USE_CORE_GRAPHICS 1
|
2005-02-12 11:34:05 +00:00
|
|
|
#endif
|
|
|
|
|
2006-10-19 15:04:32 +00:00
|
|
|
/*
|
|
|
|
* wxMAC_USE_CORE_GRAPHICS is now implemented in terms of wxUSE_GRAPHICS_CONTEXT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if wxMAC_USE_CORE_GRAPHICS
|
|
|
|
#undef wxUSE_GRAPHICS_CONTEXT
|
|
|
|
#define wxUSE_GRAPHICS_CONTEXT 1
|
|
|
|
#endif
|
|
|
|
|
2006-10-05 22:53:06 +00:00
|
|
|
/*
|
|
|
|
* check graphics context option
|
|
|
|
*/
|
|
|
|
#if wxUSE_GRAPHICS_CONTEXT && !wxMAC_USE_CORE_GRAPHICS
|
|
|
|
# error "wxUSE_GRAPHICS_CONTEXT on wxMac requires wxMAC_USE_CORE_GRAPHICS"
|
|
|
|
#endif
|
|
|
|
|
2005-07-27 15:02:04 +00:00
|
|
|
/*
|
|
|
|
* native (1) or emulated (0) toolbar
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef wxMAC_USE_NATIVE_TOOLBAR
|
2006-10-09 12:10:24 +00:00
|
|
|
#define wxMAC_USE_NATIVE_TOOLBAR 1
|
2005-07-27 15:02:04 +00:00
|
|
|
#endif
|
|
|
|
|
2004-03-23 17:35:05 +00:00
|
|
|
#endif
|
|
|
|
/* _WX_MAC_CHKCONF_H_ */
|
|
|
|
|