wxForm::AssociatePanel

void AssociatePanel(wxPanel *panel)

Associates the form with the given panel (or window derived from wxPanel, such as wxDialogBox). This causes a number of items to be created on the panel using information from the list of form items. The panel should be shown after this has been called.