A basic static box. A static box is drawn on the screen as a rectangle with an optional title text across the top of the rectangle starting in the upper-left corner. The class wxBaseStaticBox provides a simple base class for all static boxes in the game, providing a common look and feel across UI objects. It is in all ways like a wxStaticBox, except that it sets its background color to the background color of its parent window, sets its foreground to the given color, and allows for a user-defined font.
wxStaticBox (see http://www.wxwindows.org/manuals/2.4.2/wx359.htm)
BaseStaticBox.h
A basic static box. | |
The wxBaseStaticBox constructor. |
|
The wxBaseStaticBox constructor. Creates the static box with the given text color, font, label, etc.
| parent | The parent window. Must not be NULL. |
| id | The message handling ID. Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control. |
| label | The title text. |
| color | The title text color. |
| font | The title text font. |
|