wxPanel::wxPanel

void wxPanel(void)

Constructor, for deriving classes.

void wxPanel(wxFrame *parent, int x = -1, int y = -1, int width = -1, int height = -1, int style = 0, char *name = "panel")

Constructor.

The parameters x, y, width and height can be omitted on construction if the position and size will later be set (for example by a application frame's OnSize callback, or if there is only one subwindow for the frame, in which case the subwindow fills the frame).

The style parameter may be a combination of the following, using the bitwise 'or' operator.

The name parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual panels.