]> git.saurik.com Git - wxWidgets.git/blame - include/wx/features.h
Added simple instructions and autogen.mk to rebuild configure script.
[wxWidgets.git] / include / wx / features.h
CommitLineData
e0c749a7 1/**
88421578
DW
2* Name: wx/features.h
3* Purpose: test macros for the features which might be available in some
77ffb593 4* wxWidgets ports but not others
88421578 5* Author: Vadim Zeitlin
e0c749a7 6* Modified by: Ryan Norton (Converted to C)
88421578
DW
7* Created: 18.03.02
8* RCS-ID: $Id$
77ffb593 9* Copyright: (c) 2002 Vadim Zeitlin <vadim@wxwidgets.org>
65571936 10* Licence: wxWindows licence
e0c749a7 11*/
34cbe514
RN
12
13/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
d65c269b
VZ
14
15#ifndef _WX_FEATURES_H_
16#define _WX_FEATURES_H_
17
34cbe514 18/* radio menu items are currently only implemented in wxGTK and wxMSW */
0472ece7 19#if defined(__WXGTK__) || defined(__WXMSW__)
d65c269b
VZ
20 #define wxHAS_RADIO_MENU_ITEMS
21#else
22 #undef wxHAS_RADIO_MENU_ITEMS
23#endif
24
34cbe514 25/* the raw keyboard codes are generated under wxGTK and wxMSW only */
84ec90e9 26#if defined(__WXGTK__) || defined(__WXMSW__) || defined(__WXMAC__)
9c7df356
VZ
27 #define wxHAS_RAW_KEY_CODES
28#else
29 #undef wxHAS_RAW_KEY_CODES
30#endif
31
af17760d 32/* taskbar is implemented in the major ports */
6d8edd32
DS
33#if defined(__WXMSW__) || defined(__WXCOCOA__) \
34 || defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXX11__) \
35 || defined(__WXMAC_OSX__) || defined(__WXCOCOA__)
3191ff3b
VS
36 #define wxHAS_TASK_BAR_ICON
37#else
38 #undef wxHAS_TASK_BAR_ICON
39#endif
40
34cbe514
RN
41/* wxIconLocation appeared in the middle of 2.5.0 so it's handy to have a */
42/* separate define for it */
81e3be0e
VZ
43#define wxHAS_ICON_LOCATION
44
34cbe514 45/* same for wxCrashReport */
81e3be0e
VZ
46#ifdef __WXMSW__
47 #define wxHAS_CRASH_REPORT
48#else
49 #undef wxHAS_CRASH_REPORT
50#endif
51
e3f9e20c
VS
52/* wxRE_ADVANCED is not always available, depending on regex library used
53 * (it's unavailable only if compiling via configure against system library) */
54#ifndef WX_NO_REGEX_ADVANCED
55 #define wxHAS_REGEX_ADVANCED
56#else
57 #undef wxHAS_REGEX_ADVANCED
58#endif
59
34cbe514 60#endif /* _WX_FEATURES_H_ */
d65c269b 61