A panel is a subwindow of a frame in which control items can be placed to allow the user to view and set controls. Control items are:
Because wxPanel inherits from wxCanvas, it has a device context and can be drawn on. See begin-drawing for more information.
If x, y, width or height is -1, a default position/size is selected. The default may be platform-specific.
The style argument is a bitwise-ior combination of the following:
(Use 0 for no flags.)The name argument is used to associate a name with the panel, allowing the application user to set X Windows resource values for each individual panel.