/////////////////////////////////////////////////////////////////////////////
+wxEventType wxEVT_TOGGLEBUTTON;
+
/**
@class wxToggleButton
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOGGLEBUTTON(id, func)}
- Handles a toggle button click event.
+ Handles a wxEVT_TOGGLEBUTTON event.
@endEventTable
@library{wxcore}
@category{ctrl}
- @appearance{togglebutton.png}
+ @appearance{togglebutton}
@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_TOGGLEBUTTON event.
@endEventTable
@library{wxcore}
@category{ctrl}
- @appearance{bitmaptogglebutton.png}
*/
-class wxBitmapToggleButton : public wxControl
+class wxBitmapToggleButton : public wxToggleButton
{
public:
/**