]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/carbon/chkconf.h
2 * Name: wx/mac/chkconf.h
3 * Purpose: Compiler-specific configuration checking
8 * Copyright: (c) Julian Smart
9 * Licence: wxWindows licence
12 #ifndef _WX_MAC_CHKCONF_H_
13 #define _WX_MAC_CHKCONF_H_
16 * disable the settings which don't work for some compilers
19 #if defined(__MWERKS__)
20 #undef wxUSE_DEBUG_NEW_ALWAYS
21 #define wxUSE_DEBUG_NEW_ALWAYS 0
23 /* DS: Fixes compilation when wxUSE_FATAL_EXCEPTION is 1 */
24 #ifndef wxTYPE_SA_HANDLER
25 #define wxTYPE_SA_HANDLER int
30 * use OS X CoreGraphics (1) or QuickDraw (0) for rendering
33 #ifndef wxMAC_USE_CORE_GRAPHICS
34 #define wxMAC_USE_CORE_GRAPHICS 1
38 * check graphics context option
40 #if wxUSE_GRAPHICS_CONTEXT && !wxMAC_USE_CORE_GRAPHICS
41 # error "wxUSE_GRAPHICS_CONTEXT on wxMac requires wxMAC_USE_CORE_GRAPHICS"
45 * native (1) or emulated (0) toolbar
48 #ifndef wxMAC_USE_NATIVE_TOOLBAR
49 #define wxMAC_USE_NATIVE_TOOLBAR 1
53 /* _WX_MAC_CHKCONF_H_ */