An event is a structure holding information about an event passed to a callback or member function. wxEvent used to be a multipurpose event object, and is now an abstract base class for events such as wxCommandEvent (for panel item commands) and wxMouseEvent (for mouse events on windows).