I have a set of buttons in a wxStaticBoxSizer with orientation set vertical. Is there any way I can constrain the button widths to be equal to the largest one without explicitly setting widths in the properties? I feel that explicitly setting widths defeats the purpose of the sizers.
For example, I get this:

with the following:

I have tried a FlexGridSizer instead of the GridSizer and get the same result.
EDIT: Playing around some more, I found that checking the Expand property for each button had the desired effect. Can someone please confirm that this is the proper way to do it?
I also note from from reading the sticky again that this is not the correct place to ask How To questions, but it doesn't appear to say where the correct place is.
