From: Vadim Zeitlin on
On Wed, 7 May 2008 12:31:13 -0400 Harvey Chapman <hchapman-wx-users(a)3gfp.com> wrote:

HC> Thanks for the hint on setting a minimum size on the entire window. I
HC> used the code below to do that.

The easiest way to do this is to use a sizer for the layout of the main
(top-level) window too and call SetSizerAndFit().

HC> on all three labels right at startup, but after the frame had been
HC> shown. It had not effect. I don't know how to do the same to the
HC> spaces.

By using wxSizer::SetItemMinSize(index-of-the-spacer).

Regards,
VZ

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