X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d65c269b3f665e15a8ae1b8fff063b2ec0ef19a7..e944f70a6d8f0a56d00d575940f4fe94f49ef727:/include/wx/features.h diff --git a/include/wx/features.h b/include/wx/features.h index 096497184d..15f9dc9bba 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -13,12 +13,19 @@ #ifndef _WX_FEATURES_H_ #define _WX_FEATURES_H_ -// radio menu items are currently only implemented in wxGTK -#if defined(__WXGTK__) // || defined(__WXMSW__) +// radio menu items are currently only implemented in wxGTK and wxMSW +#if defined(__WXGTK__) || defined(__WXMSW__) #define wxHAS_RADIO_MENU_ITEMS #else #undef wxHAS_RADIO_MENU_ITEMS #endif +// the raw keyboard codes are generated under wxGTK and wxMSW only +#if defined(__WXGTK__) || defined(__WXMSW__) + #define wxHAS_RAW_KEY_CODES +#else + #undef wxHAS_RAW_KEY_CODES +#endif + #endif // _WX_FEATURES_H_