]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/features.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: test macros for the features which might be available in some
4 // wxWindows ports but not others
5 // Author: Vadim Zeitlin
9 // Copyright: (c) 2002 Vadim Zeitlin <vadim@wxwindows.org>
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_FEATURES_H_
14 #define _WX_FEATURES_H_
16 // radio menu items are currently only implemented in wxGTK and wxMSW
17 #if defined(__WXGTK__) || defined(__WXMSW__)
18 #define wxHAS_RADIO_MENU_ITEMS
20 #undef wxHAS_RADIO_MENU_ITEMS
23 // the raw keyboard codes are generated under wxGTK and wxMSW only
24 #if defined(__WXGTK__) || defined(__WXMSW__)
25 #define wxHAS_RAW_KEY_CODES
27 #undef wxHAS_RAW_KEY_CODES
30 // taskbar is only implemented in wxMSW and X11 ports
31 #if defined(__WXMSW__) || \
32 defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__X11__)
33 #define wxHAS_TASK_BAR_ICON
35 #undef wxHAS_TASK_BAR_ICON
38 #endif // _WX_FEATURES_H_