git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40021
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
group and when an item in the group is checked, all the others are
automatically unchecked.
group and when an item in the group is checked, all the others are
automatically unchecked.
-{\bf NB:} Currently only implemented under Windows and GTK, use
-{\tt\#if wxHAS\_RADIO\_MENU\_ITEMS} to test for availability of this feature.
-
\wxheading{See also}
\helpref{wxMenu::Append}{wxmenuappend},\rtfsp
\wxheading{See also}
\helpref{wxMenu::Append}{wxmenuappend},\rtfsp
#ifndef _WX_FEATURES_H_
#define _WX_FEATURES_H_
#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
#define wxHAS_RADIO_MENU_ITEMS
#else
#undef wxHAS_RADIO_MENU_ITEMS