[ wxwindows-Bugs-1645635 ] Problem with radiogroups in menus

SourceForge.net noreply at sourceforge.net
Fri Jan 26 13:55:59 PST 2007


Bugs item #1645635, was opened at 2007-01-26 21:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1645635&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxGTK specific
Group: Must fix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: wxerik (wxerik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with radiogroups in menus

Initial Comment:
When creating a menu with multiple radiogroups, these should be separated by a non-radio item.

This works if a "normal" item is inserted in between. However it does not work with separator-lines (the most logical to separate groups), nor does it work for stock menu items.

This problem appears in at least 2.6 and the current 2.8.0 CVS head.

Workaround for the problem:
Insert a dummy item and immediately remove it.

parent->AppendSeparator();
parent->Remove( parent->Append( -1, wxEmptyString ) );



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1645635&group_id=9863




More information about the wx-dev mailing list