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:
parent
468c46935a
commit
7c5cd6e9ad
@ -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
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user