If you create a wxFrame
, you should create a wxPanel
to be the child of the main frame, and place
all controls into the panel (except for menus and wxStatusBar
's). The only creation
parameter required is a parent. The panel will automatically grow or shrink whenever
its parent does, and automatically handles tabbing between controls.