A panel item is a control (or widget) that can be placed on a wxPanel or wxDialogBox to accept user input, and display information.
The following functions apply to panel items, which include wxButton, wxCheckbox, wxChoice, wxMessage, wxText, wxMultiText, wxSlider.
wxItem get-label
wxItem on-command
wxItem set-default
wxItem set-label
string ( get-label)
Get the item's label.
void ( on-command wxItem item wxCommandEvent command-event)
An item receives this message in response to a command (such as a button press). If this handler is not overriden, then on-command is sent to the item's parent panel. It is usually more convenient to override this handler for a panel rather than per panel item.
See wxcommandevent for a list of event types associated with wxCommandEvent.
bool ( set-default)
Make this item the default.
bool ( set-label string label)
Set the item's label.