typedef void (*wxFunction)(wxObject&, wxCommandEvent&)
The type of a panel item callback function. The first parameter is a reference to the object, and the second is a command event structure. See wxItem, wxCommandEvent.