I have a Wx::ListBox control in a BoxSizer in a dialog. I’m using the
Wx::GROW option for the box. The ListBox is properly sizing to the
WIDTH of the sizer, but it isn’t sizing vertically at all.
Initially, the ListBox has no items in it (the contents of the box is
under control of the user). Even with no items, I want to see it sized
vertically to the allocated size. The fact that it is empty (or only has
2 or three items) shouldn’t inhibit its vertical size.
Can anyone offer any help?