// Name: checkbox.h
// Purpose: interface of wxCheckBox
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@style{wxCHK_2STATE}
Create a 2-state checkbox. This is the default.
@style{wxCHK_3STATE}
- Create a 3-state checkbox. Not implemented in wxMGL, wxOS2 and
+ Create a 3-state checkbox. Not implemented in wxOS2 and
wxGTK built against GTK+ 1.2.
@style{wxCHK_ALLOW_3RD_STATE_FOR_USER}
By default a user can't set a 3-state checkbox to the third state.
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_CHECKBOX(id, func)}
- Process a @c wxEVT_COMMAND_CHECKBOX_CLICKED event, when the checkbox
+ Process a @c wxEVT_CHECKBOX event, when the checkbox
is clicked.
@endEventTable
@library{wxcore}
@category{ctrl}
- @appearance{checkbox.png}
+ @appearance{checkbox}
@see wxRadioButton, wxCommandEvent
*/
/**
Sets the checkbox to the given state. This does not cause a
- @c wxEVT_COMMAND_CHECKBOX_CLICKED event to get emitted.
+ @c wxEVT_CHECKBOX event to get emitted.
@param state
If @true, the check is on, otherwise it is off.
/**
Sets the checkbox to the given state. This does not cause a
- @c wxEVT_COMMAND_CHECKBOX_CLICKED event to get emitted.
+ @c wxEVT_CHECKBOX event to get emitted.
Asserts when the checkbox is a 2-state checkbox and setting the state
to wxCHK_UNDETERMINED.