I want to be able to prevent the wxFrame from resizing so small that the controls in the wxPanel are clipped. That /should/ be possible, because the wxPanel has a minimum size (from the sizer, from the children's minimum size and layout), which should reflect into the minimum size of the wxFloatingPane. But that doesn't seem to happen. I thought it was because wxFloatingPane does not itself contain a sizer, and added:
- Code: Select all
to SetPaneWindow, but that doesn't seem to do the trick.
How do I go about making sure resizable floating panes have a sensible minimum size? (I'm not talking about m_frame minimum size, that's a whole different can of worms).