On Fri, 21 Apr 2017 20:30:17 +0100 John Lane wrote:
JL> I'm using a static box and static box sizer.
...
JL> But I cannot get the sizer. I tried
JL>
JL> sizer = box.GetSizer()
JL>
JL> but it returns None.
JL>
JL> How, given a StaticBox, can I get its sizer ?
You need to use GetContainingSizer() because this sizer actually contains
both the static box and the other windows appearing inside it (but which
are actually box's siblings, not children).
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/