InsertRadioItem problem
Mike Fahl
fahl at dataton.se
Tue Mar 4 06:39:34 PST 2008
I'm trying to build a group of menu items from scratch by *inserting*
items into an already existing menu. However, when I subsequently try
to call Check on one of those items, I run into an assert inside
Check due to the fact that m_radioGroup.start isn't set. Looking at
the code (2.8.7), m_radioGroup.start appears to be set only through
DoAppend, and not through DoInsert on the menu.
Is this supposed to work? Since there is a specific InsertRadioItem
function, one would be led to believe so, but I can't seem to figure
it out.
Mike
More information about the wx-users
mailing list