X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d65c269b3f665e15a8ae1b8fff063b2ec0ef19a7..2ad50cc75b44bdb79c3c1a031e1a548d0fa5bfb9:/include/wx/features.h?ds=sidebyside 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_