InsertRadioItem problem

Vadim Zeitlin vadim at wxwidgets.org
Tue Mar 4 06:54:41 PST 2008


On Tue, 4 Mar 2008 15:39:34 +0100 Mike Fahl <fahl at dataton.se> wrote:

MF> I'm trying to build a group of menu items from scratch by inserting  
MF> items into an already existing menu. However, when I subsequently try  
MF> to call Check on one of those items, I run into an assert inside  
MF> Check due to the fact that m_radioGroup.start isn't set. Looking at  
MF> the code (2.8.7), m_radioGroup.start appears to be set only through  
MF> DoAppend, and not through DoInsert on the menu.
MF> 
MF> Is this supposed to work?

 It's probably supposed but apparently doesn't... If you have time to look
at this and fix it, we'd gratefully accept any patches (please see
http://www.wxwidgets.org/technote/patches.htm) fixing this bug. If not,
please add this to the bug tracker (after checking that it doesn't contain
this report already) and provide a patch to the minimal or menu sample
allowing to reproduce it.

 Thanks,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list