A basic check box window. A check box window displays a two-state check box with text. The class wxBaseCheckBox provides a simple base class for all check box windows in the game, providing a common look and feel across UI objects. It is in all ways like a wxCheckBox, except that it sets its background to the background of its parent window, sets its foreground to the given color, and allows for a user-defined font.
wxCheckBox (see http://www.wxwindows.org/manuals/2.4.2/wx52.htm)
BaseCheckBox.h
A basic check box window. | |
The wxBaseCheckBox constructor. |
|
The wxBaseCheckBox constructor. Creates the static text with the given text font, color, 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 text. |
| color | The text color. |
| font | The text font. |
|