wxBaseCheckBox

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.

Derived From

wxCheckBox (see http://www.wxwindows.org/manuals/2.4.2/wx52.htm)

Project

UICore

Include

BaseCheckBox.h

Summary
A basic check box window.
The wxBaseCheckBox constructor.

Public

Summary
The wxBaseCheckBox constructor.

Constructors

wxBaseCheckBox

wxBaseCheckBox(wxWindow *parent,
wxWindowID id,
const wxString &label,
const wxColour color,
const wxFont &font)

The wxBaseCheckBox constructor.  Creates the static text with the given text font, color, etc.

Parameters

parentThe parent window.  Must not be NULL.
idThe message handling ID.  Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control.
labelThe text.
colorThe text color.
fontThe text font.
wxBaseCheckBox(wxWindow *parent,
wxWindowID id,
const wxString &label,
const wxColour color,
const wxFont &font)
The wxBaseCheckBox constructor.
UICore provides a set of common UI controls that promote a constant look and feel across all aspects of the UI.