]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/features.h
Added intermediate state (m_showOnIdle) indicating that
[wxWidgets.git] / include / wx / features.h
... / ...
CommitLineData
1/**
2* Name: wx/features.h
3* Purpose: test macros for the features which might be available in some
4* wxWidgets ports but not others
5* Author: Vadim Zeitlin
6* Modified by: Ryan Norton (Converted to C)
7* Created: 18.03.02
8* RCS-ID: $Id$
9* Copyright: (c) 2002 Vadim Zeitlin <vadim@wxwidgets.org>
10* Licence: wxWindows licence
11*/
12
13/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
14
15#ifndef _WX_FEATURES_H_
16#define _WX_FEATURES_H_
17
18/* radio menu items are currently not implemented in wxMotif, use this
19 symbol (kept for compatibility from the time when they were not implemented
20 under other platforms as well) to test for this */
21#if !defined(__WXMOTIF__)
22 #define wxHAS_RADIO_MENU_ITEMS
23#else
24 #undef wxHAS_RADIO_MENU_ITEMS
25#endif
26
27/* the raw keyboard codes are generated under wxGTK and wxMSW only */
28#if defined(__WXGTK__) || defined(__WXMSW__) || defined(__WXMAC__)
29 #define wxHAS_RAW_KEY_CODES
30#else
31 #undef wxHAS_RAW_KEY_CODES
32#endif
33
34/* taskbar is implemented in the major ports */
35#if defined(__WXMSW__) || defined(__WXCOCOA__) \
36 || defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXX11__) \
37 || defined(__WXMAC_OSX__) || defined(__WXCOCOA__)
38 #define wxHAS_TASK_BAR_ICON
39#else
40 #undef wxHAS_TASK_BAR_ICON
41#endif
42
43/* wxIconLocation appeared in the middle of 2.5.0 so it's handy to have a */
44/* separate define for it */
45#define wxHAS_ICON_LOCATION
46
47/* same for wxCrashReport */
48#ifdef __WXMSW__
49 #define wxHAS_CRASH_REPORT
50#else
51 #undef wxHAS_CRASH_REPORT
52#endif
53
54/* wxRE_ADVANCED is not always available, depending on regex library used
55 * (it's unavailable only if compiling via configure against system library) */
56#ifndef WX_NO_REGEX_ADVANCED
57 #define wxHAS_REGEX_ADVANCED
58#else
59 #undef wxHAS_REGEX_ADVANCED
60#endif
61
62#endif /* _WX_FEATURES_H_ */
63