Subwindows should be created as children of frames. The panel subwindow may contain panel items (controls or widgets).
wxCLIPS function groups
wxCOOL classes
See also Window and wxWindow.