wxMenu::AppendRadioItem() now implemented under all platforms but wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -239,9 +239,6 @@ Adds a radio item to the end of the menu. All consequent radio items form a
|
|||||||
group and when an item in the group is checked, all the others are
|
group and when an item in the group is checked, all the others are
|
||||||
automatically unchecked.
|
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}
|
\wxheading{See also}
|
||||||
|
|
||||||
\helpref{wxMenu::Append}{wxmenuappend},\rtfsp
|
\helpref{wxMenu::Append}{wxmenuappend},\rtfsp
|
||||||
|
@@ -15,8 +15,10 @@
|
|||||||
#ifndef _WX_FEATURES_H_
|
#ifndef _WX_FEATURES_H_
|
||||||
#define _WX_FEATURES_H_
|
#define _WX_FEATURES_H_
|
||||||
|
|
||||||
/* radio menu items are currently only implemented in wxGTK and wxMSW */
|
/* radio menu items are currently not implemented in wxMotif, use this
|
||||||
#if defined(__WXGTK__) || defined(__WXMSW__)
|
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
|
#define wxHAS_RADIO_MENU_ITEMS
|
||||||
#else
|
#else
|
||||||
#undef wxHAS_RADIO_MENU_ITEMS
|
#undef wxHAS_RADIO_MENU_ITEMS
|
||||||
|
Reference in New Issue
Block a user