]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/chkconf.h
prevent crash if panel/kicker is killed, bug 1872724
[wxWidgets.git] / include / wx / mac / chkconf.h
1 /*
2 * Name: wx/mac/chkconf.h
3 * Purpose: Mac-specific config settings checks
4 * Author: Vadim Zeitlin
5 * Modified by:
6 * Created: 2005-04-05 (extracted from wx/chkconf.h)
7 * RCS-ID: $Id$
8 * Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwidgets.org>
9 * Licence: wxWindows licence
10 */
11
12 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
13
14 #if wxUSE_UNICODE
15 # if !TARGET_CARBON
16 # ifdef wxABORT_ON_CONFIG_ERROR
17 # error "wxUSE_UNICODE is only supported for Carbon Targets."
18 # else
19 # define wxUSE_UNICODE 0
20 # endif
21 # endif
22 #endif
23
24 #if wxUSE_STACKWALKER
25 /* not supported under Mac */
26 # undef wxUSE_STACKWALKER
27 # define wxUSE_STACKWALKER 0
28 #endif /* wxUSE_STACKWALKER */
29
30 #ifdef __WXMAC_CLASSIC__
31 # include "wx/mac/classic/chkconf.h"
32 #else
33 # include "wx/mac/carbon/chkconf.h"
34 #endif