wxRadioBox not derived from wxControlWithItems?

Maximilian Matthé Maxi.Matthe at web.de
Mon May 21 11:10:10 PDT 2007


Hi!

I just wanted to add items to a wxRadioBox dynamically after having 
created with new wxRadioBox(...). My MSVC2005 showed me that wxRadioBox 
is derived from wxStaticBox and wxRadioBoxBase. The doc tells that 
wxRadioBox is derived from wxControlWithItems which is absolutely logic 
for me. Why is wxRadioBox not derived from wxControlWithItems? It's very 
confusing...


I now need a workaround on how to add radiobuttons to the radiobox at 
runtime... does anybody have an idea? I dont like to have a 
wxStaticBoxSizer containing wxRadioButtons...

Maybe someone can help,
Greetings, Maximilian





More information about the wx-users mailing list