@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOGGLEBUTTON(id, func)}
- Handles a toggle button click event.
+ Handles a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event.
@endEventTable
@library{wxcore}
@see wxCheckBox, wxButton, wxBitmapToggleButton
*/
-class wxToggleButton : public wxControl
+class wxToggleButton : public wxAnyButton
{
public:
/**
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOGGLEBUTTON(id, func)}
- Handles a toggle button click event.
+ Handles a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event.
@endEventTable
@library{wxcore}
@category{ctrl}
@appearance{bitmaptogglebutton.png}
*/
-class wxBitmapToggleButton : public wxControl
+class wxBitmapToggleButton : public wxToggleButton
{
public:
/**