]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/features.h
Fixed problem in InsertItems of always adding ownerdraw data even when
[wxWidgets.git] / include / wx / features.h
index 096497184d31d2bb745708c75834613968928d7c..15f9dc9bba11e0785f3d8f9b7244aaa58bdf825c 100644 (file)
 #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_