wxStaticBoxSizer Label

BlitzMax Forums/Brucey's Modules/wxStaticBoxSizer Label

Pete Rigz(Posted 2009) [#1]
Is it possible to change the label of a wxStaticBoxSizer? I'm guessing not as there's no SetLabel method, but thought I'd double check. Google doesn't turn up much, I'm surprised no ones asked the same question before...


Brucey(Posted 2009) [#2]
Probably something like :
 sizer.GetStaticBox().SetLabel("My New Label")


:-)


Pete Rigz(Posted 2009) [#3]
Ahh yeh, works, Thanks :)