wxRadioBox change individual radio labels

wxRadioBox change individual radio labels

Post by personaj » Wed, 17 Aug 2005 06:58:36


Why is it that there is no (clear, at least) way to set the labels of
the radioboxes on a wxRadioBox on runtime (after it's been created),
apparently wx2.4 has the wxRadioBox::SetLabel(int n, const wxString&
label) method, but on wx2.6 I couldn't find a replacement.

Is there a way to change this labels?

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: XXXX@XXXXX.COM
For additional commands, e-mail: XXXX@XXXXX.COM
 
 
 

wxRadioBox change individual radio labels

Post by vadi » Wed, 17 Aug 2005 18:36:30


p> Why is it that there is no (clear, at least) way to set the labels of
p> the radioboxes on a wxRadioBox on runtime (after it's been created),
p> apparently wx2.4 has the wxRadioBox::SetLabel(int n, const wxString&
p> label) method, but on wx2.6 I couldn't find a replacement.

First, SetLabel() still exists (although it's deprecated). Second, there
is SetString(n, label) which is also used for other controls containing
multiple items.

Regards,
VZ

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


---------------------------------------------------------------------
To unsubscribe, e-mail: XXXX@XXXXX.COM
For additional commands, e-mail: XXXX@XXXXX.COM

 
 
 

wxRadioBox change individual radio labels

Post by personaj » Thu, 18 Aug 2005 00:10:34

Thanks!

I couldn't find it!

maybe someone could update the docs? it was not clear the way to find it.

Regards.
Perso.




---------------------------------------------------------------------
To unsubscribe, e-mail: XXXX@XXXXX.COM
For additional commands, e-mail: XXXX@XXXXX.COM