X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84ec90e90a90bc9b5a284b5c2e44b05349add5f6..a69aabc360d54a93e355fab72c6513c75aaa7337:/include/wx/features.h diff --git a/include/wx/features.h b/include/wx/features.h index 796dedd445..14f0f1821a 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -15,8 +15,10 @@ #ifndef _WX_FEATURES_H_ #define _WX_FEATURES_H_ -/* radio menu items are currently only implemented in wxGTK and wxMSW */ -#if defined(__WXGTK__) || defined(__WXMSW__) +/* radio menu items are currently not implemented in wxMotif, use this + symbol (kept for compatibility from the time when they were not implemented + under other platforms as well) to test for this */ +#if !defined(__WXMOTIF__) #define wxHAS_RADIO_MENU_ITEMS #else #undef wxHAS_RADIO_MENU_ITEMS