]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Name: wx/mac/chkconf.h | |
3 | * Purpose: Compiler-specific configuration checking | |
4 | * Author: Julian Smart | |
5 | * Modified by: | |
6 | * Created: 01/02/97 | |
7 | * RCS-ID: $Id$ | |
8 | * Copyright: (c) Julian Smart | |
9 | * Licence: wxWindows licence | |
10 | */ | |
11 | ||
12 | #ifndef _WX_MAC_CHKCONF_H_ | |
13 | #define _WX_MAC_CHKCONF_H_ | |
14 | ||
15 | /* | |
16 | * disable the settings which don't work for some compilers | |
17 | */ | |
18 | ||
19 | #if defined(__MWERKS__) | |
20 | #undef wxUSE_DEBUG_NEW_ALWAYS | |
21 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
22 | ||
23 | /* DS: Fixes compilation when wxUSE_FATAL_EXCEPTION is 1 */ | |
24 | #ifndef wxTYPE_SA_HANDLER | |
25 | #define wxTYPE_SA_HANDLER int | |
26 | #endif | |
27 | #endif | |
28 | ||
29 | /* | |
30 | * use OS X CoreGraphics (1) or QuickDraw (0) for rendering | |
31 | */ | |
32 | ||
33 | #ifndef wxMAC_USE_CORE_GRAPHICS | |
34 | #define wxMAC_USE_CORE_GRAPHICS 0 | |
35 | #endif | |
36 | ||
37 | /* | |
38 | * native (1) or emulated (0) toolbar | |
39 | */ | |
40 | ||
41 | #ifndef wxMAC_USE_NATIVE_TOOLBAR | |
42 | #define wxMAC_USE_NATIVE_TOOLBAR 0 | |
43 | #endif | |
44 | ||
45 | #endif | |
46 | /* _WX_MAC_CHKCONF_H_ */ | |
47 |