You can see wxToggleButton in action in the sixth page of the
controls() sample.
- @beginEventTable
- @event{EVT_TOGGLEBUTTON(id, func)}:
+ @beginEventTable{wxCommandEvent}
+ @event{EVT_TOGGLEBUTTON(id, func)}
Handles a toggle button click event.
@endEventTable
This control emits an update UI event.
- @beginEventTable
- @event{EVT_TOGGLEBUTTON(id, func)}:
+ @beginEventTable{wxCommandEvent}
+ @event{EVT_TOGGLEBUTTON(id, func)}
Handles a toggle button click event.
@endEventTable